DHCP and Dynamic DNS

How to enable Dynamic DNS updates from a Linux DHCP server to a Windows DNS server.

Create the forward and reverse lookup zones on the Windows server. You must allow secure and nonsecure updates. I’m still researching if it is possible to do secure updates from Linux to Windows.

Set up DHCP on the Linux server.

Add these lines to the dhcpd.conf file:

ddns-updates on;
ddns-update-style interim;
ddns-domainname “local.domain.”;
ddns-rev-domainname “in-addr.arpa.”;

zone domain.local. {
primary 192.168.1.41;
}

zone 1.168.192.in-addr.arpa. {
primary 192.168.1.41;
}

Notice the period at the end of the domain names.

Leave a Reply