/etc/resolv.conf and your ISP
Forrest Aldrich
forrie at forrie.com
Sun May 8 12:47:41 PDT 2005
I can think of a few ways to resolve this, but I thought to ask here.
I have Comcast for my ISP, and of course DHCP changes /etc/resolv.conf
during each update -- lately, they've been screwing things up bigtime,
such that I simply use my own "named" instance.
My question is: how to reliably keep your own nameserver in
/etc/resolv.conf, and get around the frequent protocol updates that
change/nullify your mods to /etc/resolv.conf.
Perhaps just a regular script that does a diff and patch of it, or
simply copies over the file you want regularly. Not elegant but it
would work.
I also wonder about creating a dhclient-exit script that would update
certain services automatically when your IP changes.
Thx.
More information about the freebsd-questions
mailing list