Re: Re: DNS caching nameserver problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did not check how does RedHat work but it has a script called
dhclient. Most probably you can add an option to
/etc/sysconfig/network or /etc/sysconfig/network-scripts/ifcfg-*. You
should better go to the redhat page and check its documentation.

         Darío

On 5/30/05, gerardo juarez-mondragon <gjuarezmondragon@xxxxxxxxxxxxxxx> wrote:
> 
> Red Hat 7.something...
> 
> 
> 
> ---- Begin Original Message ----
> 
> From: Darío Mariani <mariani.dario@xxxxxxxxx>
> Sent: Mon, 30 May 2005 15:24:04 -0300
> To: gerardo juarez-mondragon
> <gjuarezmondragon@xxxxxxxxxxxxxxx>
> CC: linux-admin@xxxxxxxxxxxxxxx
> Subject: Re: DNS caching nameserver problem
> 
> 
>   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ío
> 
> On 5/30/05, gerardo juarez-mondragon
> <gjuarezmondragon@xxxxxxxxxxxxxxx> 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).
> >
> > 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.
> >
> > 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.
> >
> > What do you think is the problem?
> > Is there a workaround?
> >
> > Thank you for your comments.
> > Gerardo
> >
> >
> >
> > Searching for the best free email?  Try
> MetaCrawler Mail, from the #1 metasearch service
> on the Web, http://www.metacrawler.com
> > -
> > : send the line
> "unsubscribe linux-admin" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at
>  http://vger.kernel.org/majordomo-info.html
> >
> 
> ---- End Original Message ----
> 
> 
> 
> Searching for the best free email?  Try MetaCrawler Mail, from the #1 metasearch service on the Web, http://www.metacrawler.com
> -
> : send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux