2019-06-15-好用的阿里云NTP配置文件
修改 /etc/ntp.conf文件,用下属配置覆盖后,重启ntp服务。 # ntp.conf driftfile /var/lib/ntp/drift pidfile /var/run/ntpd.pid logfile /var/log/ntp.log # Access Control Support restrict default kod nomodify notrap nopeer noquery restrict -6 default kod nomodify notrap nopeer noquery restrict 127.0.0.1 # local clock server 127.127.1.0 fudge 127.127.1.0 stratum 10 server time1.aliyun.com iburst minpoll 4 maxpoll 10 restrict time1.aliyun.com nomodify notrap nopeer noquery server time1.aliyun.com iburst minpoll 4 maxpoll 10 restrict time1.aliyun.com nomodify notrap nopeer noquery server time2.aliyun.com iburst minpoll 4 maxpoll 10 restrict time2.aliyun.com nomodify notrap nopeer noquery server time3.aliyun.com iburst minpoll 4 maxpoll 10 restrict time3.aliyun.com nomodify notrap nopeer noquery server time4.aliyun.com iburst minpoll 4 maxpoll 10 restrict time4.aliyun.com nomodify notrap nopeer noquery server time5.aliyun.com iburst minpoll 4 maxpoll 10 restrict time5.aliyun.com nomodify notrap nopeer Read more