Fortinet black logo

CLI Reference

system ddns

system ddns

Use this command to configure FortiGuard DDNS settings on your FortiGate.

You can specify a DDNS server to be used by the FortiGate, and provide the account information so the FortiGate can continuously updated its IP information to the DDNS service, or provide the generic server information for a DDNS server that you maintain.

config system ddns
    edit {ddnsid}
    # Configure DDNS.
        set ddnsid {integer}   DDNS ID. range[0-4294967295]
        set ddns-server {option}   Select a DDNS service provider.
                dyndns.org      members.dyndns.org and dnsalias.com
                dyns.net        www.dyns.net
                tzo.com         rh.tzo.com
                vavic.com       Peanut Hull
                dipdns.net      dipdnsserver.dipdns.com
                now.net.cn      ip.todayisp.com
                dhs.org         members.dhs.org
                easydns.com     members.easydns.com
                genericDDNS     Generic DDNS based on RFC2136.
                FortiGuardDDNS  FortiGuard DDNS service.
                noip.com        dynupdate.no-ip.com
        set ddns-server-ip {ipv4 address}   Generic DDNS server IP.
        set ddns-zone {string}   Zone of your domain name (for example, DDNS.com). size[64]
        set ddns-ttl {integer}   Time-to-live for DDNS packets. range[60-86400]
        set ddns-auth {disable | tsig}   Enable/disable TSIG authentication for your DDNS server.
                disable  Disable DDNS authentication.
                tsig     Enable TSIG authentication based on RFC2845.
        set ddns-keyname {string}   DDNS update key name. size[64]
        set ddns-key {string}   DDNS update key (base 64 encoding).
        set ddns-domain {string}   Your fully qualified domain name (for example, yourname.DDNS.com). size[64]
        set ddns-username {string}   DDNS user name. size[64]
        set ddns-sn {string}   DDNS Serial Number. size[64]
        set ddns-password {password_string}   DDNS password. size[128]
        set use-public-ip {disable | enable}   Enable/disable use of public IP address.
        set update-interval {integer}   DDNS update interval (60 - 2592000 sec, default = 300). range[60-2592000]
        set clear-text {disable | enable}   Enable/disable use of clear text connections.
        set ssl-certificate {string}   Name of local certificate for SSL connections. size[35] - datasource(s): certificate.local.name
        set bound-ip {ipv4 address}   Bound IP address.
        config monitor-interface
            edit {interface-name}
            # Monitored interface.
                set interface-name {string}   Interface name. size[64] - datasource(s): system.interface.name
            next
    next
end

system ddns

Use this command to configure FortiGuard DDNS settings on your FortiGate.

You can specify a DDNS server to be used by the FortiGate, and provide the account information so the FortiGate can continuously updated its IP information to the DDNS service, or provide the generic server information for a DDNS server that you maintain.

config system ddns
    edit {ddnsid}
    # Configure DDNS.
        set ddnsid {integer}   DDNS ID. range[0-4294967295]
        set ddns-server {option}   Select a DDNS service provider.
                dyndns.org      members.dyndns.org and dnsalias.com
                dyns.net        www.dyns.net
                tzo.com         rh.tzo.com
                vavic.com       Peanut Hull
                dipdns.net      dipdnsserver.dipdns.com
                now.net.cn      ip.todayisp.com
                dhs.org         members.dhs.org
                easydns.com     members.easydns.com
                genericDDNS     Generic DDNS based on RFC2136.
                FortiGuardDDNS  FortiGuard DDNS service.
                noip.com        dynupdate.no-ip.com
        set ddns-server-ip {ipv4 address}   Generic DDNS server IP.
        set ddns-zone {string}   Zone of your domain name (for example, DDNS.com). size[64]
        set ddns-ttl {integer}   Time-to-live for DDNS packets. range[60-86400]
        set ddns-auth {disable | tsig}   Enable/disable TSIG authentication for your DDNS server.
                disable  Disable DDNS authentication.
                tsig     Enable TSIG authentication based on RFC2845.
        set ddns-keyname {string}   DDNS update key name. size[64]
        set ddns-key {string}   DDNS update key (base 64 encoding).
        set ddns-domain {string}   Your fully qualified domain name (for example, yourname.DDNS.com). size[64]
        set ddns-username {string}   DDNS user name. size[64]
        set ddns-sn {string}   DDNS Serial Number. size[64]
        set ddns-password {password_string}   DDNS password. size[128]
        set use-public-ip {disable | enable}   Enable/disable use of public IP address.
        set update-interval {integer}   DDNS update interval (60 - 2592000 sec, default = 300). range[60-2592000]
        set clear-text {disable | enable}   Enable/disable use of clear text connections.
        set ssl-certificate {string}   Name of local certificate for SSL connections. size[35] - datasource(s): certificate.local.name
        set bound-ip {ipv4 address}   Bound IP address.
        config monitor-interface
            edit {interface-name}
            # Monitored interface.
                set interface-name {string}   Interface name. size[64] - datasource(s): system.interface.name
            next
    next
end