I suspect that you have two options that are performing the same task. I am not expert enough in DHCP configuration to tell you exactly which those are. However, I have posted my DHCP configuration, which correctly performs dynamic dns updates. As you can see, it is a lot smaller. I suggest paring back your configuration, trying to remove items to see if you can find the redundant one.
Code:
ddns-update-style interim;
ignore client-updates; # Overwrite client configured FQHNs
default-lease-time 86400;
max-lease-time 604800;
authoritative;
log-facility local7;
key DHCP_UPDATER {
algorithm HMAC-MD5.SIG-ALG.REG.INT;
# Important: Replace this key with your generated key.
# Also note that the key should be surrounded by quotes.
secret "<shared-dhcp-dns-key>";
};
Then I have subnet declarations. Note, I use two DHCP servers for failover and load sharing
Code:
subnet 192.168.10.0 netmask 255.255.255.0 {
ddns-domainname "my.lan.";
ddns-rev-domainname "in-addr.arpa.";
pool {
failover peer "dhcp";
range 192.168.10.1 192.168.10.254;
allow unknown-clients;
}
option broadcast-address 192.168.10.255;
option domain-name "my.lan";
option domain-name-servers 192.168.10.199, 192.168.10.200;
option routers 192.168.0.254;
zone my.lan. { primary 192.168.10.199; key DHCP_UPDATER;}
zone 10.168.192.in-addr.arpa. { primary 192.168.10.199; key DHCP_UPDATER;}
}