Setup DDNS on Fortigate

Products

Fortigate 60D, Fortigate VM00

Description

This article describes how to configure a third party DDNS service.
This scenario assumes that a DDNS service contract is already active and all the parameters from the third party DDNS service are available.

Solution

Use the following CLI commands to setup

Execute the following commands from CLI.
# config system ddns
edit 1
set monitor-interface "wan1"
set ddns-server ddnsservice.example
set ddns-domain "hostname"
set ddns-username "username"
set ddns-password password

where:

Add the below vendors DDNS on the FortiGate.
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.
'wan1' is the WAN interface bound to the DDNS service.
'ddnsservice.com' is the name of the DDNS server from the DDNS service provider.'hostname' is the name assigned to the FortiGate.
'username' is the user account for the DDNS service provided by the DDNS service provider.
'password'is the password of the account for the DDNS service provided by the DDNS service provider.

Currently no-ip is free adnd working if you login every 30 days.