Skip to main content
rezafathi
Explorer III
December 22, 2023
Solved

Fortigate DDNS

  • December 22, 2023
  • 4 replies
  • 4446 views

Hi

I want to enable ddns in fortigate but i can not select any servers in server list. How can i config ddns?

Best answer by esalija

Hi @rezafathi 

 

You configure the DDNS and also from the CLI 

 

To configure DDNS servers other than FortiGuard in the CLI:
config system ddns     edit <DDNS_ID>         set monitor-interface <external_interface>         set ddns-server <ddns_server_selection>         set server-type {ipv4 | ipv6}         set ddns-server-addr <address>         set addr-type ipv6 {ipv4 | ipv6}     next end. 

 https://docs.fortinet.com/document/fortigate/7.4.1/administration-guide/685361/ddns

 

Best regards,

Erlin

4 replies

Toshi_Esumi
SuperUser
SuperUser
December 22, 2023

What do you mean by "can not select"? Are those options dimmed? Is your DNS working, like pinging "www.google.com" from the FGT?

Toshi

DDNSsetting.png

esalija
Staff
esalijaAnswer
Staff
December 23, 2023

Hi @rezafathi 

 

You configure the DDNS and also from the CLI 

 

To configure DDNS servers other than FortiGuard in the CLI:
config system ddns     edit <DDNS_ID>         set monitor-interface <external_interface>         set ddns-server <ddns_server_selection>         set server-type {ipv4 | ipv6}         set ddns-server-addr <address>         set addr-type ipv6 {ipv4 | ipv6}     next end. 

 https://docs.fortinet.com/document/fortigate/7.4.1/administration-guide/685361/ddns

 

Best regards,

Erlin

ozkanaltas
Valued Contributor III
December 23, 2023

Hello @rezafathi ,

 

Maybe this can be related to your DNS setting. If you are not using FortiGuard DNS, this may be the reason. Could you check your Fortigate DNS settings?

hbac
Staff
Staff
December 23, 2023

Hi @rezafathi,

 

Please note that configuring DDNS in the GUI is not supported if:

• The FortiGate model is a 1000-series or higher.
• The FortiGate is a VM.
• The DNS server is not using FortiGuard as the DNS.
• FortiGate does not support DDNS when in transparent mode.

 

You can try configuring in the CLI as suggested by esalija. 

 

Regards, 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!