Ok, I've thrown everything at this, and I cannot get my Ubuntu 10.04 server to handle dynamic DNS updates from DHCP.
In earlier attempts to get it working, I saw error messages about dynamic updates timing out.
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 .
DHCP is an Internet Engineering Task Force (IETF) standard that is designed to reduce the administrative burden and complexity of configuring hosts on a TCP/IP-based network, such as a private intranet.
If you are using a DHCP proxy client that is configured with DHCP option 118, such as a virtual private network (VPN) server that is running Windows Server 2016 and the Remote Access server role, the VPN server can request an IP address lease for VPN clients from a specific IP address range.
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.
The last try for dynamic updates gave these messages from the DHCP server's syslog: Dec 30 dhcp01 dhcpd: DHCPDISCOVER from :f:a0 via eth0 Dec 30 dhcp01 dhcpd: DHCPOFFER on 10.1.1.100 to :f:a0 via eth0 Dec 30 dhcp01 dhcpd: DHCPREQUEST for 10.1.1.100 (10.1.1.21) from :f:a0 via eth0 Dec 30 dhcp01 dhcpd: DHCPACK on 10.1.1.100 to :f:a0 via eth0 Dec 30 dhcp01 dhcpd: DHCPREQUEST for 10.1.1.100 (10.1.1.21) from :f:a0 via eth0 Dec 30 dhcp01 dhcpd: DHCPACK on 10.1.1.100 to :f:a0 via eth0Again, I'm not getting that far anymore.
I just need someone smarter than me to please look over my configs.
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. Some people have mentioned that they think that bind messes up these files so that they are impossible to maintain.
authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack to complete the redirection). I don’t think that they are that bad and personally I don’t have any problem editing them after that bind has rewritten them.
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.
If you have followed the steps in my previous post you might have your zone database files in /etc/bind/zones.