Technical Tip: How to check ddns status from command line interface
Description
This article describes how to check DDNS server status from command line interface.
Solution
To check ddns status, use the following command:
diagnose test application ddnscd 3
Other available options for this command (not all available in all FortiOS versions):
- Show Peanut Hull Status.
- Peanut Hull Reconnect.
- Show FortiDDNS Status.
- Reset FortiDDNS Status.
- Show ddns entries.
Example of a failed log:
ddns_ip=0.0.0.0 ddns_port=443 svr_num=0 domain_num=0
Example of a successful log:
FortiDDNS status:
ddns_ip=208.91.113.230 ddns_port=443 svr_num=1 domain_num=3
svr[0]= 208.91.113.230
domain[0]= fortiddns.com
domain[1]= fortidyndns.com
domain[2]= float-zone.com
Note: The other command options (1,2,4,5) do not produce any output unless ddnscd -1 debug is enabled.
Related article: