[ntp:questions] Linux client ntp

Richard B. gilbert rgilbert88 at comcast.net
Fri Apr 13 13:59:17 UTC 2007


Steve Kostecke wrote:
> On 2007-04-13, RICCARDO <castellani.riccardo at tiscali.it> wrote:
> 
> 
>>I want to use ntpd -qg, it could be right this ntp.conf for my Linux
>>client ?
> 
> 
>>restrict default ignore
>>restrict 127.0.0.1
>>restrict server A
>>restrict server B
> 
> 
> You could simplify this greatly by replacing all of those restrict lines
> with this:
> 
> restrict default nomodify nopeer notrap noquery
> 
> Please see http://ntp.isc.org/Support/AccessRestrictions
> 
> 
>>server A
>>server B
> 
> 
> When you only have two clocks there is no way of knowing which is
> correct. Either use 1 or 3 or more.
> 
Four or more are better!  Three servers degenerate too easily to the two 
server case.  Four servers will be somewhat more robust.




More information about the questions mailing list