Annotation of src/etc/ntp.conf, Revision 1.13
1.13 ! christos 1: # $NetBSD: ntp.conf,v 1.12 2011/07/28 22:28:07 simonb Exp $
1.1 fair 2: #
1.7 fredb 3: # NetBSD default Network Time Protocol (NTP) configuration file for ntpd
1.8 fredb 4:
5: # This file is intended to be both a usable default, and a Quick-Start
6: # Guide. The directives and options listed here are not at all complete.
1.9 reed 7: # A great deal of additional documentation, including links to FAQS and
1.8 fredb 8: # other guides, may be found on the official NTP web site, in particular
9: #
10: # http://www.ntp.org/documentation.html
11: #
1.1 fair 12:
13: # Process ID file, so that the daemon can be signalled from scripts
14:
1.3 lukem 15: pidfile /var/run/ntpd.pid
1.1 fair 16:
1.2 simonb 17: # The correction calculated by ntpd(8) for the local system clock's
1.7 fredb 18: # drift is stored here.
1.1 fair 19:
1.3 lukem 20: driftfile /var/db/ntp.drift
1.1 fair 21:
1.7 fredb 22: # Suppress the syslog(3) message for each peer synchronization change.
1.1 fair 23:
1.3 lukem 24: logconfig -syncstatus
1.5 fredb 25:
26: # This will help minimize disruptions due to network congestion. Don't
27: # do this if you configure only one server!
28:
29: tos minsane 2
1.1 fair 30:
1.10 christos 31: # Set the number of tries to register with mdns. 0 means never
32: #
33: mdnstries 0
34:
1.7 fredb 35: # Hereafter should be "server" or "peer" statements to configure other
36: # hosts to exchange NTP packets with. Peers should be selected in such
37: # a way that the network path to them is symmetric (that is, the series
38: # of links and routers used to get to the peer is the same one that the
39: # peer uses to get back. NTP assumes such symmetry in its network delay
40: # calculation. NTP will apply an incorrect adjustment to timestamps
41: # received from the peer if the path is not symmetric. This can result
42: # in clock skew (your system clock being maintained consistently wrong
43: # by a certain amount).
44: #
1.1 fair 45: # The best way to select symmetric peers is to make sure that the
1.7 fredb 46: # network path to them is as short as possible (this reduces the chance
47: # that there is more than one network path between you and your peer).
48: # You can measure these distances with the traceroute(8) program. The
49: # best place to start looking for NTP peers for your system is within
50: # your own network, or at your Internet Service Provider (ISP).
1.1 fair 51: #
1.7 fredb 52: # Ideally, you should select at least three other systems to talk NTP
53: # with, for an "what I tell you three times is true" effect.
1.1 fair 54: #
55:
1.3 lukem 56: #peer an.ntp.peer.goes.here
57: #server an.ntp.server.goes.here
1.4 agc 58:
1.6 fredb 59: # Public servers from the pool.ntp.org project. Volunteer's servers
60: # are dynamically assigned to the CNAMES below via DNS round-robin.
61: # The pool.ntp.org project needs more volunteers! The only criteria to
62: # join are a nailed-up connection and a static IP address. For details,
63: # see the web page:
64: #
1.4 agc 65: # http://www.pool.ntp.org/
1.6 fredb 66: #
67:
68: # Depending on the vagaries of DNS can occasionally pull in the same
69: # server twice. The following CNAMES are guaranteed to be disjoint, at
1.13 ! christos 70: # least over some short interval. The following servers are allocated
! 71: # to the NetBSD project.
1.6 fredb 72:
1.13 ! christos 73: server 0.netbsd.pool.ntp.org
! 74: server 1.netbsd.pool.ntp.org
! 75: server 2.netbsd.pool.ntp.org
! 76: server 3.netbsd.pool.ntp.org
CVSweb <webmaster@jp.NetBSD.org>