NTP - default /etc/ntp.conf

John Hay jhay at meraka.org.za
Fri Jul 10 05:40:18 UTC 2009


Hi David,

On Thu, Jul 09, 2009 at 10:20:29AM +0100, David Malone 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.

This looks fine to me.

John
-- 
John Hay -- jhay at meraka.csir.co.za / jhay at FreeBSD.org

> 
> 	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



More information about the freebsd-net mailing list