Home | History | Annotate | Line # | Download | only in etc
ntp.conf revision 1.5
      1 # $NetBSD: ntp.conf,v 1.5 2003/12/07 15:56:30 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 ntp public pool project.  See:
     50 #	http://www.pool.ntp.org/ 
     51 # The servers will be dynamically assigned on a round-robin basis
     52 # from a list of volunteers.
     53 
     54 server pool.ntp.org maxpoll 12
     55 server pool.ntp.org maxpoll 12
     56 server pool.ntp.org maxpoll 12
     57