Penguin

Differences between version 10 and predecessor to the previous major change of DHCPNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 10 Last edited on Tuesday, June 22, 2004 5:13:19 pm by JohnMcPherson Revert
Older page: version 7 Last edited on Friday, February 6, 2004 9:49:06 am by PerryLorier Revert
@@ -1,7 +1,10 @@
 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) 
+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).  
+  
+If you are running a dhcpd server on Debian Woody, and you're running [LinuxKernel2.6], then you will need to edit /usr/sbin/dhcpd and add a "6" where it says [[12345]. When the script was written, it was unsure whether or not the 2.6 kernel would have compatible structures for the binary in the dhcp package, but it works fine in 2.2 - 2.6 kernels.  
+  
  
 !! Dynamic DNS 
 ISC [DHCP] version 3 and later support dynamic dns updates for DHCP leases. 
  
@@ -126,4 +129,14 @@
  updates and cause data to be lost. 
  
  
 Unfortunately, 'nsupdate' is about as much fun to use as 'nslookup'. More on 'nsupdate' once I've figured out how to use it, and what to do with those pesky .jnl (journal) files getting out of synch with the zone. 
+  
+  
+You can actually edit the zones, but 'named' must first sync the .jnl journal files with the database, and stop any further changes from taking place during the edit - this is only possible after a full, graceful shutdown of the 'named' daemon. This can be forced by using  
+# rndc stop  
+  
+After editing your zones, restart 'named' as usual. Often, this is done by:  
+# named -u (user named runs as)  
+  
+----  
+I found these notes useful, but what I really needed was a complete [example|DavidsDDNSExample].  
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors. The following authors of this page have agreed to the WlugWikiLicense.

lib/blame.php (In template 'html'):177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors