system ntp-status
Use these commands to synchronize the FortiMail unit's clock with an NTP server and to show details about the time offset and previous sync. If the NTP server was specified by its FQDN and the DNS server could not resolve the domain name, then this command also indicates the DNS query failure.
Syntax
diagnose system ntp-status
Example
FortiMail # diagnose system ntp-status
System Time: 2025-05-14 16:09:45 EDT (Uptime: 6d 5h 6m)
05.14-16:09:45:System clock last updated: Wed May 14 15:20:36 2025
05.14-16:09:45:Current server status:
05.14-16:09:46:server 208.91.112.63, stratum 3, offset +0.017775, delay 0.03738
server 208.91.112.61, stratum 2, offset +0.021715, delay 0.03761
server 208.91.112.60, stratum 2, offset +0.018370, delay 0.03740
server 208.91.112.62, stratum 2, offset +0.021994, delay 0.03802
14 May 16:09:46 ntpdate[11362]: adjust time server 208.91.112.60 offset +0.018370 sec
FortiMail # diagnose system ntp-status
System Time: 2025-06-03 14:34:27 EDT (Uptime: 3d 21h 33m)
06.03-14:34:27:System clock last updated: Wed Dec 31 19:00:00 1969
06.03-14:34:27:Current server status:
06.03-14:34:37:Exiting, name server cannot be used: Temporary failure in name resolution (-3) 3 Jun 14:34:37 ntpdate[11844]: name server cannot be used: Temporary failure in name resolution (-3)