Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
ABUELKHAIR
New Contributor II

3rd party DDNS configuration on 7.2.1

Hi,

 

I used to configure 3rd party DDNS on 6.4.x using the following:

Execute the following commands in a CLI session:

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

But with 7.2.1 i could not find the option to add the username and password just the server, and domain !!

 

Any tips 

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.2.0/administration-guide/685361/ddns

 

 

2 Solutions
vsahu
Staff
Staff

Hello,

 

I checked in 7.2.1 in my lab the commands are there.
All the commands will not be mentioned in the admin guide you can check the CLI reference guide for all commands.

https://docs.fortinet.com/document/fortigate/7.2.1/cli-reference/30620/config-system-ddns

https://docs.fortinet.com/document/fortigate/7.2.0/cli-reference/30620/config-system-ddns

Regards,
Vishal Sahu

View solution in original post

msolanki
Staff
Staff

Hi ABUELKHAIR

 

Dddns username and password option still available in 7.2.1 . it not showing in admin guide but still if you use command  "set ddns-username and set ddns-password under ddns configuration you will find the option.

config system ddns
edit 1
set ddns-server dyndns.org
set ddns-domain "abc"
set ddns-username "test"
set ddns-password ENC mYrnwpLWz3+nFvu8hfiVKJR/u1YCGOzVPbXUh8AfLqkpD9fz8cqge81MKGt1yHTI/IgGT2MUq3ubvR043vXBzu4tcR9BQlXWEp7lWBW8t3NO+qgL+mRktd95o0G+2EB1OmR2D0L7Vl9ROb/hUkPmWmbVgpMjRoxxM0nDOe6u35Iyi39Xr2u3hPeb91Ck1P7wURhJ0A==
set monitor-interface "port1"

You can refer below CLI reference 

https://docs.fortinet.com/document/fortigate/7.2.0/cli-reference/30620/config-system-ddns

 

Thanks 

Madhav

View solution in original post

4 REPLIES 4
vsahu
Staff
Staff

Hello,

 

I checked in 7.2.1 in my lab the commands are there.
All the commands will not be mentioned in the admin guide you can check the CLI reference guide for all commands.

https://docs.fortinet.com/document/fortigate/7.2.1/cli-reference/30620/config-system-ddns

https://docs.fortinet.com/document/fortigate/7.2.0/cli-reference/30620/config-system-ddns

Regards,
Vishal Sahu
ABUELKHAIR
New Contributor II

@msolanki @vsahu Thanks a lot thats really very helpful 

msolanki
Staff
Staff

Hi ABUELKHAIR

 

Dddns username and password option still available in 7.2.1 . it not showing in admin guide but still if you use command  "set ddns-username and set ddns-password under ddns configuration you will find the option.

config system ddns
edit 1
set ddns-server dyndns.org
set ddns-domain "abc"
set ddns-username "test"
set ddns-password ENC mYrnwpLWz3+nFvu8hfiVKJR/u1YCGOzVPbXUh8AfLqkpD9fz8cqge81MKGt1yHTI/IgGT2MUq3ubvR043vXBzu4tcR9BQlXWEp7lWBW8t3NO+qgL+mRktd95o0G+2EB1OmR2D0L7Vl9ROb/hUkPmWmbVgpMjRoxxM0nDOe6u35Iyi39Xr2u3hPeb91Ck1P7wURhJ0A==
set monitor-interface "port1"

You can refer below CLI reference 

https://docs.fortinet.com/document/fortigate/7.2.0/cli-reference/30620/config-system-ddns

 

Thanks 

Madhav

vcheng99
New Contributor

hi,

i am able to add ddns with 3rd party ddns, but with dyndns.org , i am not able to enable the set use-public-ip , keep getting this result

command parse error before 'use-public-ip'
Command fail. Return code -61

 

but no-ip.com worked with the public ip setting

 

anyone can help?