Posts Tagged ‘multiple’

21st January

Synching time from multiple NTP servers in Mac OS X.

written by Mark Wheadon

If you’ve set up your MacBook to set its date and time automatically, then there’s a problem: it can’t necessarily connect to any one server from all networks — if you’re behind a corporate firewall for example then you’ll need to use the local NTP server, but that connection will fail when you’re out and about, or sitting at home.

The answer seems to be undocumented, but you can in fact type more than one host name or IP address into the Set date & time automatically field in the Date & Time settings — separated by spaces.

I have mine set like above, so it picks up my ISP (Zen)’s NTP server when I’m at home, the local NTP server if there is one (they’re usually called ntp0, ntp1 etc. or maybe just ntp), or if all else fails.