Differences between version 14 and predecessor to the previous major change of DHCPNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 14 | Last edited on Wednesday, March 8, 2006 6:20:49 pm | by DanielLawson | Revert |
Older page: | version 13 | Last edited on Monday, March 7, 2005 11:17:38 am | by MichaelBarnwell | Revert |
@@ -1,4 +1,14 @@
+
+!! dhcp (client) keeps overwriting my resolv.conf!
+
+You can change this behaviour by editing /etc/dhclient.conf (or /etc/dhcp3/dhclient.conf) and add appropriate 'supersede' lines:
+<verbatim>
+supersede domain-name "domain.com";
+supersede domain-name-servers 192.168.1.1;
+</verbatim>
+
+!! Notes for Woody
Under [Debian] [Woody], you install "dhcp-client" for clients, and "dhcp" for the server. If you have interfaces other than eth0 and lo0 (such as wan0 for MetaNet), then by default dhcp will refuse to start. You need to edit /etc/default/dhcp and put __INTERFACES="eth0"__. Unfortunately this isn't documented anywhere sensible like the dhcpd man page or the README.Debian file.
In /etc/dhcpd.conf, the options that take time values are in seconds, although the example file doesn't mention this. It's in the man page though, dhcpd.conf(5).