From owner-freebsd-questions Tue Jul 11 19:29:12 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 6DC3E37B828 for ; Tue, 11 Jul 2000 19:29:05 -0700 (PDT) (envelope-from DerMurx@gmx.de) Received: (qmail 30694 invoked by uid 0); 12 Jul 2000 02:29:00 -0000 Received: from pec-135-6.tnt9.m2.uunet.de (HELO gmx.de) (149.225.135.6) by mail.gmx.net with SMTP; 12 Jul 2000 02:29:00 -0000 Message-ID: <396BD5A0.2ADA1796@gmx.de> Date: Wed, 12 Jul 2000 04:19:12 +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: David Huff Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Resolver problem (or bug?) References: <3965FE74.1C99715C@gmx.de> <20000711155818.F12467@armadillo.itg.ti.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi David, thanks for your reply... but I already tried out all possible combinations in resolv.conf (at present I use both domain and search directive). Still the same problem. And still the big mysterium: gethostbyname("maschine") seems not to query the /etc/hosts first (although /etc/host.conf contains "hosts" before "bind")... Greets Jan David Huff wrote: > > Jan, > > The problem may be the "domain" directive in your /etc/resolv.conf. You > might want to replace it with the "search" directive instead. From chap. > 16.8 (BIND client issues) in Nemeth, et al _Unix System Administration > Handbook (2nd ed.)_ (a.k.a. "the red book"): > > "Earlier versions of BIND used the domain directive in resolv.conf instead > of the search directive. RFC1535 strongly recommends replacing domain with > search, and current resolvers try only the domains listed in the search > list." > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message