From owner-freebsd-net@FreeBSD.ORG Fri Jun 5 20:39:59 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A183106566B for ; Fri, 5 Jun 2009 20:39:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 810CE8FC1A for ; Fri, 5 Jun 2009 20:39:58 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 26270 invoked by uid 399); 5 Jun 2009 20:10:30 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 5 Jun 2009 20:10:30 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A297BB4.80002@FreeBSD.org> Date: Fri, 05 Jun 2009 13:10:28 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.21 (X11/20090423) MIME-Version: 1.0 To: Edwin Groothuis References: <200906051424.n55EOIrM012619@post.behrens.de> In-Reply-To: <200906051424.n55EOIrM012619@post.behrens.de> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Frank Behrens , freebsd-net@freebsd.org, roberto@freebsd.org Subject: Re: NTP - default /etc/ntp.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 20:39:59 -0000 Frank Behrens wrote: > Edwin Groothuis 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 If someone smarter than me could confirm that it would be great. :) hth, Doug -- This .signature sanitized for your protection