If you use an older version of Ubuntu, then you might want to check out the old guide, that was written for Ubuntu 8.04.Information The steps in this post shows how to configure the DHCP server to automatically update the DNS records when giving out a new lease to a client computer. Before continuing These steps assumes that you already have a working copy of isc-dhcp-server and bind9 installed.RHEL5.6, bind-9.3.6, and dhcp-3.0.5 So, after I fixed my problem with getting DHCP to parse the MAC addresses for these virtual machines, now I need to figure out how to get it to update DNS when one of those virtual hosts is up and active. I've configured bind for d DNS and used ddns-update-style interim; update-static-leases on; key dhcpupdate zone 22. These can be added to DNS and will always be available. But, I need a pool for a set of virtual hosts that are being configured. config files, but my DHCP/DNS provides the IP addresses as the vhosts are launched or retired.
I have followed these 2 guides: which works as a caching nameserver but does the dhcp server does not update the DNS server. Apr 29 Server64 dhcpd: DHCPREQUEST for .15 from :e7:a1:8c (adrian-laptop) via eth1 Apr 29 Server64 dhcpd: DHCPACK on .15 to :e7:a1:8c (adrian-laptop) via eth1 Apr 29 Server64 nmbd: [2010/04/29 , 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172) Apr 29 Server64 nmbd: process_name_refresh_request: unicast name registration request received for name NATALIELAPTOP from IP .17 on subnet UNICAST_SUBNET.key DHCP_UPDATER ; zone "daviesandjones.lan" IN ; zone ".in-addr.arpa" ; // Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918";$ORIGIN . hostmaster$ 2008080910 28800 14400 2419200 86400 ) NS server64. Apr 29 Server64 nmbd: [2010/04/29 , 0] nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173) Apr 29 Server64 nmbd: Error - should be sent to WINS server Had a go with dnsmasq but couldn't get it to work and I had already spent time setting up dhcp. Apr 29 Server64 named: client .1#49760: updating zone 'daviesandjones.lan/IN': update unsuccessful: Server64.daviesandjones.lan: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 29 Server64 named: client .1#46268: updating zone 'daviesandjones.lan/IN': update unsuccessful: Server64.daviesandjones.lan/TXT: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET) Apr 29 Server64 dhcpd: Forward map from Server64.option domain-name "home.lan"; option domain-name-servers lan; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. 5.1 Remove the general read rights from the configuration files: The dns database files are now being rewritten by the bind service. You must carefully weigh the convenience of this facility for users against the security risk created when you enable dynamic DNS updates.Static IP addresses can add a lot of administrative overhead.