system : ddns
 
ddns
Use this command to configure Dynamic Domain Name Service. If an interface of your FortiGate unit uses a dynamic IP address, you can arrange with a DDNS service to provide a domain name from which traffic is redirected to your network. The DDNS service is updated whenever the IP address changes.
DDNS is available only in NAT/Route mode.
Syntax
config system ddns
edit <index_int>
set ddns-auth {tsig | disable}
set ddns-key <base64_str>
set ddns-keyname <keyname_str>
set ddns-domain <ddns_domain_name>
set ddns-password <ddns_password>
set ddns-server-ip <ipv4_addr>
set ddns-sn <serno_str>
set ddns-server <ddns_service>
set ddns-ttl <ttl_int>
set ddns-username <ddns_username>
set ddns-zone <zone_str>
set monitor-interface <interfaces>
end
Variable
Description
Default
<index_int>
Enter the unique index number for this DDNS entry.
 
ddns-auth {tsig | disable}
Enable TSIG authentication for the generic DDNS server.
disable
ddns-key <base64_str>
DDNS update key in base 64 encoding. Available when ddns-auth is tsig.
No default.
ddns-keyname <keyname_str>
DDNS update keyname. Available when ddns-auth is tsig.
No default.
ddns-domain <ddns_domain_name>
Enter the fully qualified domain name to use for the DDNS. This is the domain name you have registered with your DDNS.
This field is available for some DDNS service providers.
No default.
ddns-password <ddns_password>
Enter the password to use when connecting to the DDNS server.
This is not available when ddns-server is dipdns.net.
No default.
ddns-server-ip <ipv4_addr>
Enter the DDNS server IP address for genericDDNS server.
0.0.0.0
ddns-sn <serno_str>
Enter the DDNS serial number (dipdns.net).
No default.
ddns-server <ddns_service>
Select a DDNS server to use. The client software for these services is built into the FortiGate firmware. The FortiGate unit can only connect automatically to a DDNS server for these supported clients.
dhs.org — supports members.dhs.org and dnsalias.com.
dipdns.net — supports dipdnsserver.dipdns.com.
dyndns.org — supports members.dyndns.org.
dyns.net — supports www.dyns.net.
easydns.com — supports members.easydns.com.
FortiGuardDDNS — supports FortiGuard DDNS service.
genericDDNSsupports DDNS server (RFC 2136) defined in ddns‑server‑ip.
now.net.cn — supports ip.todayisp.com.
ods.org — supports ods.org.
tzo.com — supports rh.tzo.com.
vavic.com — supports ph001.oray.net (Peanut Hull).
No default.
ddns-ttl <ttl_int>
Enter the time-to-live value for DDNS packets.
300
ddns-username <ddns_username>
Enter the user name to use when connecting to the DDNS server.
This is not available whenddns-server is dipdns.net.
No default.
ddns-zone <zone_str>
Enter a name for your DDNS zone. Available if ddns‑server is genericDDNS.
No default.
monitor-interface <interfaces>
Select the network interfaces that use DDNS service.
No default.