MacOS – NTP not updating back to system time in macOS

macosntp

In macOS 10.12.6 , I am trying to forward the clock using the date command.

E.g.: today's date is 25-09-2017 and I am setting it to 27-09-2017. But using ntp I am unable to revert my system time back to 25-09-2017.

I have "time.asia.apple.com" set in /etc/ntp.conf.

When I try to issue the command

sudo killall -9 ntpd; sudo ntpdate "time.asia.apple.com"

I am getting the following output:

27 Sep 20:25:36 ntpdate[5085]: no server suitable for synchronization found

I am not sure why my system time is not moving back to 25th of Sep.

I even tried it with "time1.google.com" . The clock is still not returning back to today's date.

Best Answer

"no server suitable for synchronization found" indicates that the time server time.asia.apple.com can't be found or in-bound ntp traffic is not allowed at some perimeter.

Your host either has no proper Internet connection or DNS resolution is wonky.

However, you can try to check your Internet connection (e.g. ping 8.8.8.8), repair the Internet if necessary (e.g. repair Internet local|global all) and repeat your ntpdate command or use one of the various IP addresses of time.asia.apple.com (17.253.52.125, 17.253.54.253, 17.253.54.125) directly:

sudo ntpdate 17.253.54.125

If the last command works DNS resolution is broken.


repair Internet local|global all shouldn't be taken literally.