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

ask - Multi DDNS on 1 appliance

Hi there,

 

Fortigate provide DDNS for 1 ID.

if I have 3 WAN connection, can I register to 3 ID different? 1 WAN connection has 1 ID ddns.

 

if yes, how to do that?

 

thank you

2 Solutions
HA

Hi,

 

Go into CLI mode 

Then

 

config system ddns edit 1 set ddns-server FortiGuardDDNS set ddns-domain "wan1xxx.fortiddns.com" set use-public-ip enable set monitor-interface "wan1" set update-interval 180 next

edit 1 set ddns-server FortiGuardDDNS set ddns-domain "wan2xxx.fortiddns.com" set use-public-ip enable set monitor-interface "wan2" set update-interval 180 next end

 

Regards,

 

HA

View solution in original post

rwpatterson
Valued Contributor III

They should start with 'edit 0'. "edit 1" twice will overwrite the existing entry 1 while "edit 0" will use the next available entry.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

View solution in original post

5 REPLIES 5
papapuff
New Contributor

hi, just want to add information.

 

what i mean multi ddns,will be like below:

WAN1, assigned to DDNS abc.fortiddns.com

WAN2, assigned to DDNS cba.fortiddns.com

WAN3, assigned to DDNS xyz.fortiddns.com

 

thanks.

papapuff

hello, any possibility here?

HA

Hi,

 

Go into CLI mode 

Then

 

config system ddns edit 1 set ddns-server FortiGuardDDNS set ddns-domain "wan1xxx.fortiddns.com" set use-public-ip enable set monitor-interface "wan1" set update-interval 180 next

edit 1 set ddns-server FortiGuardDDNS set ddns-domain "wan2xxx.fortiddns.com" set use-public-ip enable set monitor-interface "wan2" set update-interval 180 next end

 

Regards,

 

HA

rwpatterson
Valued Contributor III

They should start with 'edit 0'. "edit 1" twice will overwrite the existing entry 1 while "edit 0" will use the next available entry.

Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com

papapuff

hi, thanks for all reply.

yes rwpatterson correct. but somehow our fortigate start with '1'.or at least what seen on GUI is entry '1'.

 

another questions but still in multiple DDNS.

I've setup entry '1' enable public ip, and others disable.

but public ip on entry '1' use dynamic IP Public from entry WAN2. is it by default?

 

and still ambiguity with option "public IP" here, and update-ïnterval purpose.

 

kindly please guide me. thank you.