Question
FortiGate with local DHCP service is not updating local DNS Zone entries
Hello fellows,
I have the following situation:
A FortiGate 61F (FortiOS 7.2.6) with a local DHCP service for the clients in the network and also a local DNS service with a "local.tld" zone. Using the DDNS mechanism, the IP addresses assigned via DHCP should be entered with the host names of the respective computers in the DNS zone.
Unfortunately, this does not work in my case.
I have made the following configuration, which should be sufficient according to the documentation:
config system dhcp server
edit 1
set dns-service local
set ntp-service local
set domain "local.tld"
set default-gateway 10.1.1.1
set netmask 255.255.255.0
...
set ddns-update enable
set ddns-update-override enable
set ddns-server-ip 10.1.1.1
set ddns-zone "local.tld"
next
end
Clients in this subnet are assigned addresses and DNS etc. accordingly.
config system dns-database
edit "local.tld"
set domain "local.tld"
set ttl 21600
next
In the log I find entries like:
logdesc="DHCP DDNS add query" dhcp_msg="DHCP DDNS Add" ddnsserver=10.1.1.1 ip=10.1.1.217 fqdn="kolab16.local.tld" msg="DHCP server sends a DDNS add query"
But I cannot find an A record in the corresponding DNS zone.
Where am I still missing something?
What have I done wrong?
Thank you!
