From owner-freebsd-stable Mon Jun 5 9:27:34 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id 2B21B37BE1D for ; Mon, 5 Jun 2000 09:27:30 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1016) id D6B7E9B1F; Mon, 5 Jun 2000 12:27:25 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id CB3D7BA21; Mon, 5 Jun 2000 12:27:25 -0400 (EDT) Date: Mon, 5 Jun 2000 12:27:25 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: cdf.lists@pawn.primelocation.net To: The Hermit Hacker Cc: freebsd-stable@freebsd.org Subject: Re: DNS problem with 4.0-STABLE? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 5 Jun 2000, The Hermit Hacker wrote: > > Morning all ... > > Spent the past couple of hours working through a problem with > sendmail 8.10.1 and it seems to come down to the fact taht 'localhost' or > '127.0.0.1' don't resolve: > *snip* > > but, its in my /etc/hosts file: > *snip* > > and, according to /etc/host.conf, it should be looked at first: > *snip* > > am I mis-understanding something, or is there a problem? > Most userland programs (e.g. ping) use host.conf to determine how to resolve hostnames. nslookup talks directly to nameservers (i.e. doesn't use host.conf). From nslookup(8): NAME nslookup - query Internet name servers interactively ----- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message