I know there are instructions for installing full NTP, but I'd rather change the default server under the default implementation. This question has come up before for 12.04 LTS, however the answer there:
edit the value of NTPSERVERS in /etc/default/ntpdate
appears to be no longer valid.
42 Answers
Ubuntu 16.04 uses by default server ntp.ubuntu.com [reference].
To change the default server, edit the config file with an editor:
sudo vi /etc/systemd/timesyncd.confUncomment the NPT= line and define the server you want to be used instead of default:
[Time]
NTP=some.ntp.server.comTo "audit" the time-synchronization events and verify the server that was contacted, use the following command:
cat /var/log/syslog | grep systemd-timesyncd 2 According to the official documentation at:
1The nameserver to fetch time for timedatectl and timesyncd from can be specified in /etc/systemd/timesyncd.conf and with flexible additional config files in /etc/systemd/timesyncd.conf.d/.