Description | This article describes how to configure Dynamic DNS FortiGate. |
Scope | FortiGate. |
Solution |
Diagram.
In the FortiGate GUI, go to Network -> DNS -> Enable FortiGuard DDNS, select the interface with the dynamic connection, select the server that is linked to the account, and enter 'Unique Location'.
From CLI:
config system ddns edit 101 set ddns-server FortiGuardDDNS set ddns-domain "fgtbacoor.fortiddns.com" set use-public-ip enable set monitor-interface "wan1" next end
Try to NSLOOKUP the fgtbacoor.fortiddns.com, and it will be resolved to whatever public IP the FortiGate is getting translated into.
After configuring, if the DDNS is not working, take the debug commands output below and open a TAC ticket, and update the debug output for TAC investigation.
diagnose debug disable diagnose debug enable
To stop the debug processes in the end, press Ctrl + C and enter 'diagnose debug disable'.
Note:
Note: It is not possible to use the same DDNS on multiple FortiGates. In this case, the device is replaced and it is necessary to use the same DDNS. Open a ticket with Fortinet Support so the TAC team can transfer the DDNS from the old device to the new device.
Related documents: |
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.