Ubuntu dhcp updating dns
Multihomed server, external interface on DHCP, internal interfaces with fixed addresses. On Red Hat, I would just add PEERDNS=no to the interface config and the problem would be solved.
I tried this in /etc/network/interfaces: auto eth2 iface eth2 inet dhcp dns-nameservers 127.0.0.1 dns-search home.local But then the DNS servers and domain provided by DHCP are still added to in addition to my own. (which would suck) I can't believe there's no obvious solution to this simple problem.
Dynamic Host Configuration Protocol (DHCP) is a commonly used method of obtaining IP and DNS information automatically from the network.
In some cases, you may wish to statically define the DNS servers instead of using the ones provided by the DHCP server.
My second step was ensuring that my system was in a proper state to be a DNS/DHCP server…
I assume you already know how to setup plain old dns aswell as plain old dhcp. Dynamic DNS is the means by which to push new records into your dns server while it is running, without having to edit any zone files.
Also, don't reload named, restart named when debugging. A few minor changes are necesary to your (isc dhcp3 server).