Home | History | Annotate | Line # | Download | only in etc
ntp.conf revision 1.6
      1 # $NetBSD: ntp.conf,v 1.6 2003/12/07 16:01:00 fredb Exp $
      2 #
      3 # NetBSD default Network Time Protocol (NTP) configuration file
      4 # for ntpd
      5 
      6 # Process ID file, so that the daemon can be signalled from scripts
      7 
      8 pidfile		/var/run/ntpd.pid
      9 
     10 # The correction calculated by ntpd(8) for the local system clock's
     11 # drift is stored here
     12 
     13 driftfile	/var/db/ntp.drift
     14 
     15 # suppress the syslog(3) message for each peer synchronization change
     16 
     17 logconfig	-syncstatus
     18 
     19 # This will help minimize disruptions due to network congestion. Don't
     20 # do this if you configure only one server!
     21 
     22 tos		minsane 2
     23 
     24 # Hereafter should be "server" or "peer" statements to configure
     25 # other hosts to exchange NTP packets with. Peers should be selected
     26 # in such a way that the network path to them is symmetric (that is,
     27 # the series of links and routers used to get to the peer is the same
     28 # one that the peer uses to get back. NTP assumes such symmetry
     29 # in its network delay calculation. NTP will apply an incorrect
     30 # adjustment to timestamps received from the peer if the path is not
     31 # symmetric. This can result in clock skew (your system clock being
     32 # maintained consistently wrong by a certain amount).
     33 # 
     34 # The best way to select symmetric peers is to make sure that the
     35 # network path to them is as short as possible (this reduces the
     36 # chance that there is more than one network path between you and
     37 # your peer). You can measure these distances with the traceroute(8)
     38 # program. The best place to start looking for NTP peers for your
     39 # system is within your own network, or at your Internet Service
     40 # Provider (ISP).
     41 #
     42 # Ideally, you should select at least three other systems to talk
     43 # NTP with, for an "what I tell you three times is true" effect.
     44 #
     45 
     46 #peer		an.ntp.peer.goes.here
     47 #server		an.ntp.server.goes.here
     48 
     49 # Public servers from the pool.ntp.org project. Volunteer's servers
     50 # are dynamically assigned to the CNAMES below via DNS round-robin.
     51 # The pool.ntp.org project needs more volunteers! The only criteria to
     52 # join are a nailed-up connection and a static IP address. For details,
     53 # see the web page:
     54 #
     55 #	http://www.pool.ntp.org/ 
     56 #
     57 
     58 # The country codes can help you find servers that are net-wise close.
     59 # As explained above, closer is better...
     60 
     61 # Northern U.S.A
     62 #server		ca.pool.ntp.org
     63 #server		us.pool.ntp.org
     64 #server		us.pool.ntp.org
     65 
     66 # Northern Europe
     67 #server		de.pool.ntp.org
     68 #server		de.pool.ntp.org
     69 #server		dk.pool.ntp.org
     70 
     71 # Depending on the vagaries of DNS can occasionally pull in the same
     72 # server twice. The following CNAMES are guaranteed to be disjoint, at
     73 # least over some short interval.
     74 
     75 server		0.pool.ntp.org
     76 server		1.pool.ntp.org
     77 server		2.pool.ntp.org
     78