mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
#
|
|
# NTP configuration file (ntp.conf)
|
|
# baldwin.udel.edu
|
|
#
|
|
# This illustrates the use of an external clock with the local clock
|
|
# driver, as well as a multicast server. The prefer keyword on the
|
|
# local clock driver declares an external clock and that the time of
|
|
# this server should not be wiggled by an NTP peer, unless the
|
|
# external source comes unstuck. Note the use of the multicast group
|
|
# ID assigned to NTP, 224.0.1.1, which identifies this as a multicast
|
|
# server rather than a broadcast one. The other NTP peers are known
|
|
# stratum-1 chimes intended as backup should the external clock croak.
|
|
#
|
|
server 127.127.1.0 prefer # local clock driver
|
|
broadcast 224.0.1.1 key 6 ttl 127
|
|
peer rackety.udel.edu
|
|
peer barnstable.udel.edu
|
|
peer mizbeaver.udel.edu
|
|
peer pogo.udel.edu
|
|
#
|
|
# Miscellaneous stuff
|
|
#
|
|
driftfile /etc/ntp.drift # path for drift file
|
|
statsdir /baldwin/ntpstats/ # directory for statistics files
|
|
filegen peerstats file peerstats type day enable
|
|
filegen loopstats file loopstats type day enable
|
|
filegen clockstats file clockstats type day enable
|
|
#
|
|
# Authentication stuff
|
|
#
|
|
keys /usr/local/etc/ntp.keys # path for keys file
|
|
trustedkey 3 4 5 6 14 15 # define trusted keys
|
|
requestkey 15 # key (7) for accessing server variables
|
|
controlkey 15 # key (6) for accessing server variables
|