This article describes various troubleshooting steps that can be taken to fix an issue where configuring FortiGate as DHCP server to do the DDNS update on a DNS server does not work as expected.
FortiGate.
See this document.
Option: (81) Client Fully Qualified Domain Name
Length: 16
Flags: 0x00
0000 .... = Reserved flags: 0x0
.... 0... = Server DDNS: Some server updates
.... .0.. = Encoding: ASCII encoding
.... ..0. = Server overrides: No override
.... ...0 = Server: Client <--S bit
A-RR result: 0
PTR-RR result: 0
Client name: AB81-xxxx
The format of the 1-octet Flags field is:
0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
| MBZ |N|E|O|S|
+-+-+-+-+-+-+-+-+
See this document.
Based on the 'S' bit, the FortiGate should determine that it has to update the DNS server with an A record. The following debugs can be expected in that case.
2024-10-17 15:02:04 [debug][dhcpd_ddns_update:1626] DHCP server will be sending a DDNS update with an ID 954 for DHCP client, 6c:4b:90:xx:xx:xx.
2024-10-17 15:02:04 [note]DHCPACK on 10.130.51.60 to 6c:4b:90:xx:xx:xx via lan1(ethernet)
DHCPS Debugs - https://community.fortinet.com/t5/FortiGate/Technical-Tip-Diagnosing-DHCP-on-a-FortiGate/ta-p/192960
2024-10-09 10:48:22.633701 10.0.0.1 10.0.0.56 DNS 156 Dynamic update 0x000d SOA example.com A A 10.0.56.2
2024-10-09 10:48:22.634712 10.0.0.56 10.0.0.1 DNS 156 Dynamic update response 0x000d SOA example.com A A 10.0.56.2
See this article for instructions on packet capture.
Related document:
Technical Tip: Configure DDNS update override in FortiGate DHCP server
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.