restrict -6 default kod nomodify notrap nopeer noquery
restrict -6 ::1
server 1.centos.pool.ntp.org
server 2.centos.pool.ntp.org
server cn.pool.ntp.org
#server 127.0.0.1
fudge 127.127.1.0 stratum 10
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing
# it to the file.
driftfile /var/lib/ntp/drift
# with symmetric key cryptography.
keys /etc/ntp/keys
10 Feb 10:24:12 ntpdate[11958]: step time server 10.0.10.198 offset -6825.65900 4 sec
[root@mail1 ~]# ntpdate -u 10.0.10.198
10 Feb 10:24:17 ntpdate[11959]: adjust time server 10.0.10.198 offset -0.002345 sec
[root@mail1 ~]# ntpdate -u 10.0.10.198
10 Feb 10:24:18 ntpdate[11960]: adjust time server 10.0.10.198 offset -0.001940 sec
remote refid st t when poll reach delay offset jitter
==============================================================================
*10.0.10.198 61.129.66.79 3 u 41 64 377 0.300 -186.11 161.804
LOCAL(0) .LOCL. 10 l 6 64 377 0.000 0.000 0.001
[root@localhost home]#