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.The principles of DHCP are simple and Microsoft has not changed its core since before Windows NT days, however its not something you shouldn’t undertake lightly or ill-prepared.Most of your client devices will rely on DHCP to function and failing to migrate seamlessly will only cause disruptions to your business.If you don’t have that I suggest that you first read my two other posts on how to install them: Setting up a DNS for the local network on the Ubuntu Hardy Heron server Setting up a DHCP server on Ubuntu Hardy Heron Step by step instructions Apparently the Ubuntu server is installed with an App Armor profile that prevents bind to write to the /etc/bind directory.The default profile suggests that these files should be put in /var/lib/bind.If you have followed the steps in my previous post you might have your zone database files in /etc/bind/zones.
In earlier attempts to get it working, I saw error messages about dynamic updates timing out.
I’ve included the whole contents of my file here and marked the changes that I’ve made in bold.
3.1 Edit /etc/bind/local: # # Make sure to change the ddns update style to interim: ddns-update-style interim; ignore client-updates; # Overwrite client configured FQHNs ddns-domainname ""; ddns-rev-domainname ""; # option definitions common to all supported networks... subnet .0 netmask 255.255.255.0 The dns database files are now being rewritten by the bind service.
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_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 .
You must carefully weigh the convenience of this facility for users against the security risk created when you enable dynamic DNS updates.