DHCP was primarily designed to enable automatic and centralized provisioning of IP addresses and other configuration elements, such as, default router address, DNS server(s).These additional elements are known as options in the DHCP jargon.I'd guess that it'll work without much change in past or future versions though, along with other Debian-based distros and any others if you make the appropriate changes for where your config files and whatnot might be. ( 3541726342 ; serial 7200 ; refresh (2 hours) 3600 ; retry (1 hour) 604800 ; expire (1 week) 86400 ; minimum (1 day) ) NS To test that the DNS had been updated appropriately, I just asked the server.
As part of this, I thought it would be nice for it to also handle DNS, and dynamically assign DNS names to the machines it learns about through DHCP requests.
This post is just a brief overview of the steps I went through in order to get this working.
Hello, We have started to have lookup problems in out network.
When a new client gets an IP address, DHCP doesn't update DNS with the record. The DHCP and DNS are on the same box (which is also the primary DC).
While this is extremely useful for IPv4 it is practically essential for IPv6.
Note: The configurations assume use of ISC's DHCP verion 4.x unless otherwise noted.
And I no longer need to have any of my machines (well beside the server and a few others) statically assigned IPs. I found the easiest way to test this was literally to connect a device (or have an existing one such as my i Phone get a new DHCP lease).
That said, I should admit that part of the reason for doing this is just because I can, and to see how it is actually done. This was written based on Ubuntu 11.10 and involved a fair bit of trial and error. Hopefully it will be given an appropriate IP address, domain name and so on.
The DHCP server responds (after a number of checks) using the local network broadcast address using UDP on port 68 with an IP address and a variable lease time (together with any configured options).
The lease time in effect says how long the PC/Server may retain the IP address before it must request another one or renew its lease.
A particular annoyance if I want to SSH from my i Mac into my laptop.