From owner-freebsd-questions Mon Oct 30 22: 8:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from grom.sice.ru (grom.sice.ru [194.84.10.195]) by hub.freebsd.org (Postfix) with ESMTP id CE58F37B4C5 for ; Mon, 30 Oct 2000 22:08:36 -0800 (PST) Received: from cindy.office.sice.ru (cindy [192.168.10.99]) by grom.sice.ru (8.9.3/8.9.3) with ESMTP id MAA41986 for ; Tue, 31 Oct 2000 12:08:34 +0600 (NOVT) Received: from sice.ru (pc_vfom.office.sice.ru [192.168.10.146]) by cindy.office.sice.ru (8.10.2/8.10.1) with ESMTP id e9V68Xb30526 for ; Tue, 31 Oct 2000 12:08:34 +0600 Message-ID: <39FE61E6.F4A0ECAD@sice.ru> Date: Tue, 31 Oct 2000 12:08:38 +0600 From: "Viktor A. Fomichev" Organization: SICE Inc. X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: ru,en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Unexpected resolver behaviour in 4.1-RELEASE Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! It seems, a bug exist in resolver implementation since 4.1. I have a small private network with internal DNS. (no relations with internet). Name server is 192.168.10.130. Domain name is my.domain.com At host bsd.my.domain.com : No local named daemon. No ipv6 in kernel. No lkm's. (All i need compiled in kernel. Other moduler removed.) /etc/resolv.conf # nameserver 192.168.10.130 # /etc/host.conf # hosts bind # /etc/hosts # 127.0.0.1 locahost 192.168.10.205 bsd.my.domain.com bsd 192.168.10.130 ns.my.domain.com ns # % uname -a FreeBSD bsd.my.domain.com 4.1-RELEASE FreeBSD 4.1-RELEASE #1: Thu Oct 26 00:54:45 NOVST 2000 root@bsd.my.domain.com:/usr/src/sys/compile/MY_HOST i386 % nslookup somehost Server: ns.my.domain.com Address: 192.168.10.130 Name: somehost.my.domain.com Address: 192.168.10.110 %ping somehost ping: cannot resolve somehost: Unknown host % Using ethereal i intecept DNS traffic generated by above mentioned commands. Host send identical requests for the first and second commands. NS server send identical reply for the first and second DNS requests! (only transaction IDs different) Whats the matter? The same problem exists in 4.1.1-RELEASE The same problem was detected while using PERL's gethostbyname. By. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message