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.
This address, 127.0.1.1, is sent to resolvconf which puts in /etc/
Network Manager also gives the (remote) IP address of the DHCP-provided DNS nameserver to the forwarding nameserver.
For example, if you set nameservers, enable forwarding or masking, enable DNSSEC (Domain Name System Security Extensions), set hosts and IP addresses, create mobile websites, or enable Cash Parking®, you update your domain name's zone file.NOTE: to make sure it is not your computer cache that has the outdated information, we recommend clearing the cache of your browser and flushing the DNS cache after the DNS change.3. There are three basic methods that will allow you to pass the DNS propagation.If you HAVE NOT changed the nameservers and do not wish them to propagate for so long, there is a way to reduce the propagation time. Point your domain to the destination IP address by means of A record on the side of the current DNS provider, setting the minimal TTL ('Time to live' – propagation time) for this record, for instance, to 300 seconds (5 minutes).2.Normally what happens is that the (remote) DHCP server provides to Network Manager both an IP address for the local interface and the address of a (remote) DNS nameserver to use.Network Manager starts an instance of a forwarding nameserver that listens locally at 127.0.1.1.Your request for this lookup is eventually passed to a DNS server somewhere.However, your request is one of thousands, even millions of requests being made at any one time across the Internet.If you are on a website and want to retrieve the next page on the site, the local DNS server does not have to look up the host again (provided the time to live value has not expired and caused the local DNS server to delete the information).This is why it takes longer to contact a website the first time, but subsequent requests for pages on the same site are faster. The DNS caches will also cache that records do not exist.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.