DHCPD config

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri Mar 31 19:18:57 UTC 2006


Kris Anderson <ciscoaix at yahoo.com> writes:

> I think the answer you are looking for lies in
> dhclient-script. I noticed it futzes with resolv.conf.
> If you happen to notice resolv.conf changing (You can
> test this about by making a backup of resolv.conf,
> erasing its contents and then rebooting the machine,
> just for the sake of everything running properly and
> seeing if the contents of resolv.conf get repopulated
> with your ISPs DNS settings) then you can create a
> script to grab the elements needed from the ISP and
> drop them in to a file for dhcpd to read and then
> SIGTERM dhcpd and restart it.

Basically, "have dhclient-script rewrite the dhcpd.conf".

Running your own nameserver and pointing the internal DHCP clients to
it is another option, but slightly less resistant to failures.  Doing
both will get you the best of both worlds.


More information about the freebsd-questions mailing list