FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
acvaldez
Staff
Staff
Article Id 208780
Description This article describes how to configure Dynamic DNS FortiGate.
Scope FortiGate.
Solution

Diagram.

 

 

acvaldez_0-1649403613656.png

 

From 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'.

 

acvaldez_1-1649403613660.png

 

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 getting translated into.

 

acvaldez_2-1649403613669.png

 

acvaldez_3-1649403613670.png

 

Note:

DDNS can only be configured via CLI for FortiGate VMs. Configuring DDNS via GUI is not supported for FortiGate-1000 series or higher or FortiGate-VM.

Configuring DDNS via GUI is not supported when the configured DNS server is not using FortiGuard Servers. FortiGate does not support DDNS when in transparent mode

 

Related document:

FortiGate Admin Guide on DDNS