Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2009 11:03:23 -0700
From:      Brian Somers <brian@Awfulhak.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        Edwin Groothuis <edwin@freebsd.org>, freebsd-net@freebsd.org
Subject:   Re: NTP - default /etc/ntp.conf
Message-ID:  <20090709110323.6106a0f3@Awfulhak.org>
In-Reply-To: <200907091020.aa42546@walton.maths.tcd.ie>
References:  <20090702084608.GA59311@roberto-al.eurocontrol.fr> <200907091020.aa42546@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 09 Jul 2009 10:20:29 +0100, David Malone <dwmalone@maths.tcd.ie> wrote:
> The NTP pool guys have set up our vendor domain. I'd like to commit
> the patch below to ntp.conf. It does the following:
> 
> 	1) Uses our vendor domain at the pool.
> 	2) Points people at the pool website and encourages
> 	   people to provide a server in the pool (as a
> 	   courtesy to the pool guys).
> 	3) Fixes a spelling.
> 	4) Comments out the local clock and includes a link
> 	   to documentation for use of the local clock on
> 	   the ntp.org site.
> 
> If there are no objections, I'll ask re@ for permission to commit
> this.
> 
> 	David.
> 
> Index: ntp.conf
> ===================================================================
> --- ntp.conf    (revision 195484)
> +++ ntp.conf    (working copy)
> @@ -13,19 +13,22 @@
>  #
>  # The following three servers will give you a random set of three
>  # NTP servers geographically close to you.
> -# See http://en.wikipedia.org/wiki/NTP_pool for details.
> +# See http://www.pool.ntp.org/ for details. Note, the pool encourages
> +# users with a static IP and good upstream NTP servers to add a server
> +# to the pool. See http://www.pool.ntp.org/join.html if you are interested.
>  #
>  # The option `iburst' is used for faster initial synchronisation.
>  # The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD.
>  #
> -server 0.pool.ntp.org iburst maxpoll 9
> -server 1.pool.ntp.org iburst maxpoll 9
> -server 2.pool.ntp.org iburst maxpoll 9
> +server 0.freebsd.pool.ntp.org iburst maxpoll 9
> +server 1.freebsd.pool.ntp.org iburst maxpoll 9
> +server 2.freebsd.pool.ntp.org iburst maxpoll 9
> +#server 3.freebsd.pool.ntp.org iburst maxpoll 9
>  
>  #
>  # If you want to pick yourself which country's public NTP server
>  # you want sync against, comment out the above servers, uncomment
> -# the next ones and replace CC with the country's abbrevation.
> +# the next ones and replace CC with the country's abbreviation.
>  # Make sure that the hostnames resolve to a proper IP address!
>  #
>  # server 0.CC.pool.ntp.org iburst maxpoll 9
> @@ -50,10 +53,12 @@
>  #restrict 127.127.1.0
>  
>  #
> -# If we lose sync against all configured servers, the NTP clients
> -# syncing against this server will lose sync too. To overcome this,
> -# we will act as a stratum 10 server with our own internal clock
> -# so that everybody at least will have the same time as we have.
> +# If a server loses sync with all upstream servers, NTP clients
> +# no longer follow that server. The local clock can be configured
> +# to provide a time source when this happens, but it should usually
> +# be configured on just one server on a network. For more details see
> +# http://support.ntp.org/bin/view/Support/UndisciplinedLocalClock
> +# The use of Orphan Mode may be preferable.
>  #
> -server 127.127.1.0
> -fudge 127.127.1.0 stratum 10
> +#server 127.127.1.0
> +#fudge 127.127.1.0 stratum 10

I'd tend to suggest stratum 13 so that the inattentive admin
doesn't spread his potentially dodgy clock info too far when
he tries uncommenting the above....  otherwise I (rather
subjectively) agree with this change :)

-- 
Brian Somers                                       <brian@Awfulhak.org>
Don't _EVER_ lose your sense of humour !            <brian@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090709110323.6106a0f3>