From owner-freebsd-stable Fri Jun 30 22:32:12 2000 Delivered-To: freebsd-stable@freebsd.org Received: from freeway.dcfinc.com (cx74889-a.phnx3.az.home.com [24.1.193.157]) by hub.freebsd.org (Postfix) with ESMTP id 69FBA37B68C for ; Fri, 30 Jun 2000 22:32:10 -0700 (PDT) (envelope-from chad@freeway.dcfinc.com) Received: (from chad@localhost) by freeway.dcfinc.com (8.8.8/8.8.8) id WAA09706; Fri, 30 Jun 2000 22:32:03 -0700 (MST) (envelope-from chad) From: "Chad R. Larson" Message-Id: <200007010532.WAA09706@freeway.dcfinc.com> Subject: Re: [Fwd: telnet/tcp problems in 4.0-RELEASE] In-Reply-To: <395D5D39.6EA1B8FE@paradise.net.nz> from Mark Ibell at "Jul 1, 0 02:53:45 pm" To: marki@paradise.net.nz (Mark Ibell) Date: Fri, 30 Jun 2000 22:32:03 -0700 (MST) Cc: freebsd-stable@FreeBSD.ORG Reply-To: chad@DCFinc.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As I recall, Mark Ibell wrote: > It does appear to be a dns problem after all. After renaming > resolv.conf to resolv.conf.bak the problem is cured, although only > hosts in the hosts file can be looked up. The strange thing is that > both the 'nslookup' & 'host' commands both appeared to retrieve the > correct information from the dns server (for both forward and reverse > lookups) on our network. A week or two ago I posted about the circumstances in which host and nslookup can give you misleading results, and a program to demonstrate the fact. It has to do with how /etc/host.conf can be set to override what DNS servers will tell you, but host, dig and nslookup query the resolver directly, not using the gethostbyname(3) call, as an application would. In your case, if "hosts" is in your /etc/host.conf ahead of "bind", then you need to look for an entry in your /etc/hosts file that would result in namespace overloading. And, check my earlier mail in the archives... -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org larson1@home.net DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message