From owner-freebsd-questions Thu Jun 24 9:24:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay02.indigo.ie (relay02.indigo.ie [194.125.133.226]) by hub.freebsd.org (Postfix) with SMTP id 7A2DF15074 for ; Thu, 24 Jun 1999 09:24:52 -0700 (PDT) (envelope-from lucks@indigo.ie) Received: (qmail 18766 messnum 46201 invoked from network[194.125.133.251/sascha.indigo.ie]); 24 Jun 1999 16:24:51 -0000 Received: from sascha.indigo.ie (194.125.133.251) by relay02.indigo.ie (qp 18766) with SMTP; 24 Jun 1999 16:24:51 -0000 From: Sascha Luck Organization: Indigo To: Christopher Taylor , questions@freebsd.org Subject: Re: DNS caching? Date: Thu, 24 Jun 1999 16:21:52 +0000 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: <37731F90.D91B40FD@thedial.com> MIME-Version: 1.0 Message-Id: <99062416245102.08408@sascha.indigo.ie> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 25 Jun 1999, Christopher Taylor wrote: > Is it possible that my machine is caching a host name? I recently > switched subnets and had my DNS host entries changed to correspond to my > new subnet. My nameserver (198.60.22.2) is resolving my hostname > (ezln23.earthbroadcasting.com) correctly when I do an 'nslookup', but > when I do a 'ping', my host name is resolved to my old host IP address. check your /etc/hosts file. it's probably somewhere in there - the hostfile is usually parsed before a DNS lookup is made. Lucky -- AT&T Unix: Reach out and grep someone... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message