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

Rick Delaney rick-h4KjNK7Mzas at public.gmane.org
Tue Jun 14 15:55:23 UTC 2005


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 Delaney
rick-h4KjNK7Mzas at public.gmane.org
--
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