Fortinet black logo

CLI Reference

system ddns

system ddns

Use this command to configure the FortiMail unit to update a dynamic DNS (DDNS) service with its current public IP address.

Syntax

config system ddns

edit <ddns-service_str>

config domain

edit domain <domain_str>\

set ipmode {auto | bind | static}

set interface <interface_str>

set ip <host_ipv4>

set status {enable | disable}

set type {custom | dynamic | static}

set password <password_str>

set timeout <time_int>

set username <username_str>

end

Variable

Description

Default

<ddns-service_str>

Enter one of the following DDNS update servers:

  • members.dhs.org
  • dipdnsserver.dipdns.com
  • www.dnsart.com
  • members.dyndns.org
  • www.dyns.net
  • ip.todayisp.com
  • ods.org
  • rh.tzo.com
  • ph001.oray.net

Note: You must have an account with this DDNS service provider.

domain <domain_str>

Enter the domain name that is tied to this username and server.

ipmode {auto | bind | static}

Select the method of determining the IP address:

auto: Automatically detect the public IP address of the FortiMail unit and use that as the IP address to which domain <domain_str> will resolve.

bind: Use the IP address of a specific network interface as the IP address to which domain <domain_str> will resolve. Also configure interface <interface_str>.

static: Use the public IP address to which domain <domain_str> will resolve. Also configure ip <host_ipv4>.

auto

interface <interface_str>

Enter the specific network interface of which the IP address is used as the IP address to which domain <domain_str> will resolve.

ip <host_ipv4>

Enter the public IP address to which domain <domain_str> will resolve.

status {enable | disable}

Enable to notify a DDNS service provider to update public DNS records when the public IP address of the FortiMail unit changes.

disable

type {custom | dynamic | static}

Enter a service type for this domain.

password <password_str>

Enter the password of the DDNS account.

timeout <time_int>

Enter the amount of time in hours after which your FortiMail unit will contact the DDNS server to reaffirm its current IP address.

username <username_str>

Enter the user name of your account with the DDNS service provider.

Related topics

system dns

system ddns

Use this command to configure the FortiMail unit to update a dynamic DNS (DDNS) service with its current public IP address.

Syntax

config system ddns

edit <ddns-service_str>

config domain

edit domain <domain_str>\

set ipmode {auto | bind | static}

set interface <interface_str>

set ip <host_ipv4>

set status {enable | disable}

set type {custom | dynamic | static}

set password <password_str>

set timeout <time_int>

set username <username_str>

end

Variable

Description

Default

<ddns-service_str>

Enter one of the following DDNS update servers:

  • members.dhs.org
  • dipdnsserver.dipdns.com
  • www.dnsart.com
  • members.dyndns.org
  • www.dyns.net
  • ip.todayisp.com
  • ods.org
  • rh.tzo.com
  • ph001.oray.net

Note: You must have an account with this DDNS service provider.

domain <domain_str>

Enter the domain name that is tied to this username and server.

ipmode {auto | bind | static}

Select the method of determining the IP address:

auto: Automatically detect the public IP address of the FortiMail unit and use that as the IP address to which domain <domain_str> will resolve.

bind: Use the IP address of a specific network interface as the IP address to which domain <domain_str> will resolve. Also configure interface <interface_str>.

static: Use the public IP address to which domain <domain_str> will resolve. Also configure ip <host_ipv4>.

auto

interface <interface_str>

Enter the specific network interface of which the IP address is used as the IP address to which domain <domain_str> will resolve.

ip <host_ipv4>

Enter the public IP address to which domain <domain_str> will resolve.

status {enable | disable}

Enable to notify a DDNS service provider to update public DNS records when the public IP address of the FortiMail unit changes.

disable

type {custom | dynamic | static}

Enter a service type for this domain.

password <password_str>

Enter the password of the DDNS account.

timeout <time_int>

Enter the amount of time in hours after which your FortiMail unit will contact the DDNS server to reaffirm its current IP address.

username <username_str>

Enter the user name of your account with the DDNS service provider.

Related topics

system dns