From owner-freebsd-questions Fri Jul 7 9: 9:39 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id E74A837BE30 for ; Fri, 7 Jul 2000 09:09:26 -0700 (PDT) (envelope-from DerMurx@gmx.de) Received: (qmail 18368 invoked by uid 0); 7 Jul 2000 16:09:24 -0000 Received: from a7749.pppool.de (HELO gmx.de) (213.6.119.73) by mail.gmx.net with SMTP; 7 Jul 2000 16:09:24 -0000 Message-ID: <3965FE74.1C99715C@gmx.de> Date: Fri, 07 Jul 2000 17:59:48 +0200 From: Jan Kunzmann Organization: Organized? Me???? X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: de,en MIME-Version: 1.0 To: questions@freebsd.org Subject: Resolver problem (or bug?) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there, I have a small private network, with a well configured BIND on a linux box (working reliable for years) serving my internal domain. Recently I set up a new server with FreeBSD 4.0. Everything works fine except for that strange resolver problem: It seems not to append the domain name to stripped host names. If I do a "telnet linux.murx.int" (host names according to the configuration files below) from the bsd-box everything is fine. But if I do a "telnet linux" I have to wait more than a minute til the login prompt is displayed. First time I noticed this behavior, I assumed a nameserver problem so I let the BIND log all requests. The debug log revealed that the BSD box sends querys for "linux" to the nameserver instead of appending the domain and querying for "linux.murx.int" or check the /etc/hosts file first! The BIND, of course, can't translate this name and queries its forwarders (which are unreachable since the network is not online). Same with any other host lookups from the BSD box. Eg, if I do a "telnet bsd.murx.int" from any other host in my network, I have to wait for the dns timeout after the passwort prompt... BIND log reveales: the BSD box is looking up the stripped host name of the telnet source (maybe for logging purpose in the login program). Strange, isn't it? Had anybody similar problems or - even better - a solution? For now, I removed the nameserver entry from /etc/resolve.conf, but this can't be a reasonable solution... My configuration files: --- /etc/host.conf hosts bind --- /etc/resolv.conf domain murx.int nameserver 192.168.1.1 --- /etc/hosts 127.0.0.1 localhost 192.168.1.5 bsd.murx.int bsd 192.168.1.1 linux.murx.int linux --- Bye, Jan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message