From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Dar=EDo_Mariani?= Subject: Re: DNS caching nameserver problem Date: Mon, 30 May 2005 15:24:04 -0300 Message-ID: <84bd26ef050530112422641001@mail.gmail.com> References: Reply-To: =?ISO-8859-1?Q?Dar=EDo_Mariani?= Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Content-Disposition: inline Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="iso-8859-1" To: gerardo juarez-mondragon Cc: linux-admin@vger.kernel.org Yes, the problem is that your DHCP client is overwriting the resolv.conf file. How to avoid this, as far as I know, is distribuition specific. What distribution do you have? Dar=EDo On 5/30/05, gerardo juarez-mondragon = wrote: > I have a DNS caching server that works ok until > it is rebooted. When this happens it restarts > normally, except the /etc/resolv.conf file is > altered and the server stops serving names. (The > line 'nameserver 127.0.0.1' is missing and other > namservers appear instead). >=20 > The server obtains an address through DHCP and my > theory is that the DHCP server is providing it > with DNS servers as well, which it substitutes > when it probably shouldn't. >=20 > I have tried a horrible patch in rc.local, > stopping named, overwriting resolv.conf with a > correct copy and restarting, but > editing the file and restarting 'named' does not > seem to work 100% of the time, requiring > sometimes one or two restarts of the service to > make it serve names for the internal hosts. >=20 > What do you think is the problem? > Is there a workaround? >=20 > Thank you for your comments. > Gerardo >=20 >=20 >=20 > Searching for the best free email? Try MetaCrawler Mail, from the #1= metasearch service on the Web, http://www.metacrawler.com > - > To unsubscribe from this list: send the line "unsubscribe linux-admin= " in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html