Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 May 2005 15:49:36 -0400
From:      Forrest Aldrich <forrie@forrie.com>
To:        freebsd-questions@freebsd.org
Subject:   /etc/resolv.conf and your ISP
Message-ID:  <427E6D50.2040003@forrie.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?427E6D50.2040003>