(Obtained as is from: 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 dhcp3-server and bind9 installed.
The only dynamic DNS updates will be to my internal server.
https://wiki.archlinux.org/index.php/Samba_4_Active_Directory_Domain_Controller Its all there also I think in the default domain policy you should disable ddns?
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.
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.