Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Jun 2009 08:09:16 +0200
From:      Joel Dahl <joel@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Frank Behrens <frank@ilse.behrens.de>, freebsd-net@freebsd.org, roberto@freebsd.org, Edwin Groothuis <edwin@freebsd.org>
Subject:   Re: NTP - default /etc/ntp.conf
Message-ID:  <4A2A080C.1040402@FreeBSD.org>
In-Reply-To: <4A297BB4.80002@FreeBSD.org>
References:  <200906051424.n55EOIrM012619@post.behrens.de> <4A297BB4.80002@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton skrev:
> Frank Behrens wrote:
>> Edwin Groothuis <edwin@freebsd.org> wrote on 5 Jun 2009 22:44:
>>> After pondering at conf/58595, I came with this text.
>>>
>>> The ntpd is not enabled by default, so the fact that the servers
>>> are commented out should not be an issue.
>>> ...
>>> +# server pool.ntp.org
>>> +# server pool.ntp.org
>>> +# server pool.ntp.org
>> Isn't it better to use different entries?
>> server 0.pool.ntp.org
>> server 1.pool.ntp.org
>> server 2.pool.ntp.org
>>
>> To be sure that the IP addresses are different.
>> See
>> http://www.pool.ntp.org/en/use.html
> 
> I agree with this suggestion, as well as the others about adding the
> default restrictions and the fallback local clock. Bruce is right
> about the ntp.drift file name, however we already have existing stuff
> that mentions ntpd.drift, and since it's specified on the command line
> in rc.conf the problems of what it says in the code are bypassed.
> 
> OTOH, we should use ntp.conf (no d) since that is what is referenced
> in the man page for ntpd, and the man page for the conf file is
> ntp.conf. (It's currently wrong in the Makefile in your patch.)
> 
> One more thing, it was said some time ago that due to a quirk in how
> ntpd works on our system that adding the following to the server line
> makes it work more efficiently:
> 
> server foo iburst maxpoll 9

I've read the same somewhere and I've been using "iburst maxpoll 9" for a long 
time. If this is correct, I think it should go into the default ntp.conf.

--
Joel



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