On Aug 7, 2007, at 4:22 PM, Ask Bjørn Hansen wrote:
> On Aug 7, 2007, at 15:55, Chuck Swiger wrote:
>> I gather that you didn't realize that BIND returns a different group
>> of IPs with each query already; if you run "dig 0.pool.ntp.org"
>> several times against a (properly functioning) nameserver, you should
>> get a different set of IPs each time.
>
> Really?
>
> [EMAIL PROTECTED] ~]$ dig 0.pool.ntp.org | grep ^0.pool | awk '{print $5}'  
> | sort  > /tmp/1
> [EMAIL PROTECTED] ~]$ dig 0.pool.ntp.org | grep ^0.pool | awk '{print $5}'  
> | sort  > /tmp/2
> [EMAIL PROTECTED] ~]$ diff /tmp/1 /tmp/2
> [EMAIL PROTECTED] ~]$

Maybe.  :-)  Are there more than 14 RR's listed in 0.pool.ntp.org at  
a given time?

Certainly BIND is doing round-robin within the result set:

% dig 0.pool.ntp.org | grep '^0.pool' | awk '{print $5}' | head -1
87.232.1.41
% dig 0.pool.ntp.org | grep '^0.pool' | awk '{print $5}' | head -1
85.130.119.198
% dig 0.pool.ntp.org | grep '^0.pool' | awk '{print $5}' | head -1
80.59.234.233
% dig 0.pool.ntp.org | grep '^0.pool' | awk '{print $5}' | head -1
76.168.23.87
% dig 0.pool.ntp.org | grep '^0.pool' | awk '{print $5}' | head -1
62.112.194.64
% dig 0.pool.ntp.org | grep '^0.pool' | awk '{print $5}' | head -1
218.185.224.66

-- 
-Chuck

_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers

Reply via email to