We will start by copying the files so we have a backup remaining if anything goes wrong: 1.1 Copy the zone database files: We now need to add the key to the bind configuration and tell it what zones that we want it to allow updates on.I’ve included the whole contents of my file here and marked the changes that I’ve made in bold.Seems that a lot of people experience this problem. How to set the Aging/Scaveging properties in dependency of the DHCP-lease time.
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.
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.
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 12.04 (Precise Pangolin) server Setting up a DHCP server on Ubuntu 12.04 (Precise Pangolin) server 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.
Updated version This is an updated guide for Ubuntu 12.04.
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.
To configure DHCP Option 081, you must look at the DHCP server properties, under the DNS Tab in DHCP properties. After configuring the above provedure, the credentials and Dns Update Proxy group configuratuion will not update current or delete duplicate records. DHCP will give that duplicate named client an IP, but it will not register it into DNS.