[ntp:questions] Restrict statements and the "pool" directive

Terje Mathisen terje.mathisen at tmsw.no
Sun Dec 21 11:17:25 UTC 2014


Rob wrote:
> David Taylor <david-taylor at blueyonder.co.uk.invalid> wrote:
>> I just added some experimental restrict statements to one on my servers:
>>
>>     restrict default notrap nomodify nopeer noquery
>>     restrict default notrap nomodify nopeer noquery
>>     restrict 127.0.0.1
>>     restrict ::1
>>     restrict 192.168.0.0 mask 255.255.255.0 peer
>>
>> and it now seems that the pool directive is not finding any pool servers
>> even after a few minutes running.  Is this related?  If so, how might I
>> fix the problem?
>
> Yes, that is related.  I encountered this when I tried the pool command.
> You need to lift restrict on the pool servers, but I forgot how to do
> that exactly, I just removed the pool command.
>
'restrict source' is the proper way to do it, as long as you have a 
version which supports that command.

Terje

-- 
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"



More information about the questions mailing list