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