|
|
The following is an example of a minimal ntp.conf file. The name of the host in this example is acapulco.your_company.com.
# # Peer configuration for 10.0.246.16 (acapulco.your_company.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 ntpd which servers to poll. The driftfile statement tells ntpd 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 10.0.246.11 # seattle.your_company.com peer 10.0.246.7 # moscow.your_company.com
driftfile /etc/ntp.drift