Example ntp.conf file
The following is an example of a minimal ntp.conf file.
The name of the host in this example is acapulco.mynet.com.
# # Peer configuration for 132.147.246.16 (acapulco.mynet.com) # (expected to operate at stratum 2) # peer 128.115.14.97 # clock.llnl.gov (stratum 1 server) peer 16.1.0.22 # clepsydra.dec.com (stratum 1 server)The four peer statements tell xntpd which servers to poll. The driftfile statement tells xntpd the name of the file in which to store the frequency error of the system clock. You are strongly encouraged to include this statement in the configuration file. This server is expected to operate as a stratum 2 server, because the first two servers have hardware clocks and are, therefore, stratum 1 servers.peer 132.147.246.11 # seattle.mynet.com peer 132.147.246.7 # moscow.mynet.com
driftfile /etc/ntp.drift