From owner-freebsd-questions@FreeBSD.ORG Mon Jul 27 23:26:38 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAD6B106566C for ; Mon, 27 Jul 2009 23:26:38 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 96F6D8FC1F for ; Mon, 27 Jul 2009 23:26:38 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp018.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KNG003HHRSA0380@asmtp018.mac.com> for freebsd-questions@freebsd.org; Mon, 27 Jul 2009 16:26:35 -0700 (PDT) Message-id: <2C28CCF0-43D3-4A1D-B19C-4034695C7C89@mac.com> From: Chuck Swiger To: Zbigniew Szalbot In-reply-to: <4A6E336A.10906@lcwords.com> Date: Mon, 27 Jul 2009 16:26:34 -0700 References: <4A6E2DE2.4080606@lcwords.com> <9991CE39-1B24-479E-9EDF-AFA153EE3EDE@mac.com> <4A6E336A.10906@lcwords.com> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-questions@freebsd.org Subject: Re: ntpd / time synchronization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 23:26:39 -0000 Hi-- On Jul 27, 2009, at 4:08 PM, Zbigniew Szalbot wrote: > OK. So removing the restrictions should cause the time to be synced? > > Thank you for your patience and help! Yes, try it and see-- it's most likely to be the cause of problems. If you want to set a default restrict line, you'll want to use a setup like the following, with explicit restrict statements added for localhost and each of the remote timeservers: server ntp.pbx.org maxpoll 11 server bonehed.lcs.mit.edu maxpoll 9 server sundial.columbia.edu maxpoll 11 server time1.apple.com maxpoll 11 peer ns1.codefab.com maxpoll 9 peer ns2.codefab.com maxpoll 9 restrict default kod nomodify notrap nopeer restrict -6 default kod nomodify notrap nopeer noquery # localhost is unrestricted restrict 127.0.0.1 restrict -6 ::1 restrict ntp.pbx.org restrict bonehed.lcs.mit.edu restrict sundial.columbia.edu restrict time1.apple.com restrict ns1.codefab.com restrict ns2.codefab.com Regards, -- -Chuck