On 05/06/2006 14:24, Thomas T. Veldhouse wrote: > What is the best approach to keep dhclient from overwriting > /etc/resolv.conf every time it gets a new lease on an IP address? This > has been a frustrating search as Google has turned up next to nothing on > the issue other than a hack into a script file which should be > overwritten when world is rebuilt.
If I'm getting your question right - isn't 'supersede' option in dhclient.conf(5) what you want? Something like: interface "int0" { supersede domain-name "example.com" supersede domain-name-servers "127.0.0.1" } HTH, Karol > Thanks in advance, > > Tom Veldhouse -- Karol Kwiatkowski <freebsd at orchid dot homeunix dot org> OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc
signature.asc
Description: OpenPGP digital signature