Date: Mon, 27 Jul 2009 16:26:34 -0700 From: Chuck Swiger <cswiger@mac.com> To: Zbigniew Szalbot <z.szalbot@lcwords.com> Cc: freebsd-questions@freebsd.org Subject: Re: ntpd / time synchronization Message-ID: <2C28CCF0-43D3-4A1D-B19C-4034695C7C89@mac.com> In-Reply-To: <4A6E336A.10906@lcwords.com> References: <4A6E2DE2.4080606@lcwords.com> <9991CE39-1B24-479E-9EDF-AFA153EE3EDE@mac.com> <4A6E336A.10906@lcwords.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2C28CCF0-43D3-4A1D-B19C-4034695C7C89>