Restoring /etc/resolv.conf after a modem/router burp

Alex Beamish talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Jun 14 13:45:29 UTC 2005


On 6/14/05, Rick Delaney <rick-h4KjNK7Mzas at public.gmane.org> wrote:
> On Mon, Jun 13, 2005 at 10:17:45AM -0400, Lennart Sorensen wrote:
> >
> > dhclient has options for dhclient.conf to make it not touch resolv.conf,
> 
> It also has options that would allow you to prepend or supersede
> the domain-name-servers provided by DHCP.  I think a simple
> 
>     prepend domain-name-servers [work nameserver ip here];
> 
> in /etc/dhclient.conf would be all the OP needs to get what he wants.

Rick,

I think this is exactly what I need. I'll try it out the next time I
get a chance. Thanks for the feedback!

Alex
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list