From owner-freebsd-questions Tue Oct 31 7:12:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id 833D637B4C5 for ; Tue, 31 Oct 2000 07:12:47 -0800 (PST) Received: from [212.22.163.2] (helo=poeza.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 13qd4S-000E6S-00 for freebsd-questions@freebsd.org; Tue, 31 Oct 2000 18:11:29 +0300 Received: from wash by poeza.iconnect.co.ke with local (Exim 3.16 #1) id 13qd7Z-0004zt-00 for freebsd-questions@FreeBSD.ORG; Tue, 31 Oct 2000 18:14:41 +0300 Date: Tue, 31 Oct 2000 18:14:41 +0300 From: Odhiambo Washington To: freebsd-questions@FreeBSD.ORG Subject: Re: Unexpected resolver behaviour in 4.1-RELEASE Message-ID: <20001031181441.E18807@poeza.iconnect.co.ke> Mail-Followup-To: Odhiambo Washington , freebsd-questions@FreeBSD.ORG References: <39FE61E6.F4A0ECAD@sice.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <39FE61E6.F4A0ECAD@sice.ru>; from "Viktor A. Fomichev" on Tue, Oct 31, 2000 at 12:08:38PM +0600 X-Operating-System: FreeBSD poeza.iconnect.co.ke 3.5-STABLE FreeBSD 3.5-STABLE X-Mailer: Mutt http://www.mutt.org/ X-Location: Mombasa, KE, East Africa Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Viktor A. Fomichev [20001031 09:10]: =>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 What about with nameserver 127.0.0.1 added to resolv.conf on ns ?? What is the behaviour? => # =>/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 -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA. There are more things, Lucilius, that frighten us than injure us, and we suffer more in imagination than in reality. -Seneca, "Epistulae ad Lucilium" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message