1 1.4 agc # $NetBSD: ntp.conf,v 1.4 2003/09/24 11:36:31 agc Exp $ 2 1.1 fair # 3 1.1 fair # NetBSD default Network Time Protocol (NTP) configuration file 4 1.2 simonb # for ntpd 5 1.1 fair 6 1.1 fair # Process ID file, so that the daemon can be signalled from scripts 7 1.1 fair 8 1.3 lukem pidfile /var/run/ntpd.pid 9 1.1 fair 10 1.2 simonb # The correction calculated by ntpd(8) for the local system clock's 11 1.1 fair # drift is stored here 12 1.1 fair 13 1.3 lukem driftfile /var/db/ntp.drift 14 1.1 fair 15 1.1 fair # suppress the syslog(3) message for each peer synchronization change 16 1.1 fair 17 1.3 lukem logconfig -syncstatus 18 1.1 fair 19 1.1 fair # Hereafter should be "server" or "peer" statements to configure 20 1.1 fair # other hosts to exchange NTP packets with. Peers should be selected 21 1.1 fair # in such a way that the network path to them is symmetric (that is, 22 1.1 fair # the series of links and routers used to get to the peer is the same 23 1.1 fair # one that the peer uses to get back. NTP assumes such symmetry 24 1.1 fair # in its network delay calculation. NTP will apply an incorrect 25 1.1 fair # adjustment to timestamps received from the peer if the path is not 26 1.1 fair # symmetric. This can result in clock skew (your system clock being 27 1.1 fair # maintained consistently wrong by a certain amount). 28 1.1 fair # 29 1.1 fair # The best way to select symmetric peers is to make sure that the 30 1.1 fair # network path to them is as short as possible (this reduces the 31 1.1 fair # chance that there is more than one network path between you and 32 1.1 fair # your peer). You can measure these distances with the traceroute(8) 33 1.1 fair # program. The best place to start looking for NTP peers for your 34 1.1 fair # system is within your own network, or at your Internet Service 35 1.1 fair # Provider (ISP). 36 1.1 fair # 37 1.1 fair # Ideally, you should select at least three other systems to talk 38 1.1 fair # NTP with, for an "what I tell you three times is true" effect. 39 1.1 fair # 40 1.1 fair 41 1.3 lukem #peer an.ntp.peer.goes.here 42 1.3 lukem #server an.ntp.server.goes.here 43 1.4 agc 44 1.4 agc # Public servers from the ntp public pool project. See: 45 1.4 agc # http://www.pool.ntp.org/ 46 1.4 agc # The servers will be dynamically assigned on a round-robin basis 47 1.4 agc # from a list of volunteers. 48 1.4 agc 49 1.4 agc server pool.ntp.org maxpoll 12 50 1.4 agc server pool.ntp.org maxpoll 12 51 1.4 agc server pool.ntp.org maxpoll 12 52