Dhcp is not updating dns
Hey, I am trying to setup a DHCP and DNS server for a test network.
I got DHCP and DNS working on the server but I can't get the DHCP server to update the DNS server, I made sure named has permissions to the zone records. # server-identifier 192.1; authoritative; ddns-update-style interim; allow client-updates; key dhcpupdate zone test.local. subnet 192.168.88.0 netmask 255.255.255.0 I think you will find the problem is in file.
For both the forward and reverse zones you have the allow-update statement commented out. Also, if you have SELinux enabled it will not allow writes to the zone files in /var/named/, regardless of the file permissions.
It will not work without this because updates are disallowed by default. Moving those zone files to update to /var/named/dynamic/ (and update the file specifier in named.conf) overcomes that problem.
I also read that a service account should be configured to carry out the zone updates - which I have now done. Our domain's zone is configured as an AD-Integrated zone with replication to all DNS servers in the forest.
Dynamic updates are set to Secure Only, and Aging is 2 hours no-refresh, 6 hours refresh intervals.
The DHCP service needs some valid way to tell the DNS server to update the records.
Although really the hosts should (for the most part) be doing this on their own with out help from the DHCP server at all.
DC1 has DNS servers setup as itself and DC2 (primary and secondary)DC2 has DNS servers setup as DC1 and itself (primary and secondary) Do you have an account set up as proxy for the DHCP server to register users?
Your router / firewall knows nothing about your domain hence should not be used like that.