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

Alex Beamish talexb-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Mon Jun 13 03:28:12 UTC 2005


On 6/12/05, David Thornton <david-FkEgs2FKm2NvBvnq28/GKQ at public.gmane.org> wrote:
>  From man dhcpcd
> 
> -R Prevents *dhcpcd* from replacing existing //etc/resolv.conf/ file.

Thanks for your answer .. in Mandrake 10 I have a -r but no -R.

However, you've pushed me to finding /sbin/dhclient-script which does
a bunch of useful things, including setting up the contesnts of
/etc/resolv.conf, and I thank you for that.

> Probably very rarly when your dhcp lease is reset there are new name
> servers.

I don't want to break things and hard-code the Sympatico name servers
-- it could be they'd change servers and I might end up pointing to
two dead servers.

> figure out what the Stunpatico servers are and add them to a static
> resolv.conf
> 
> cool?

Cool. Thanks for your feedback .. I'll reply again once I get this all
figured out.

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