[time] What is happening here?
Chuck Swiger
cswiger
Tue Aug 7 23:33:43 UTC 2007
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?
>
> [ask at embla ~]$ dig 0.pool.ntp.org | grep ^0.pool | awk '{print $5}'
> | sort > /tmp/1
> [ask at embla ~]$ dig 0.pool.ntp.org | grep ^0.pool | awk '{print $5}'
> | sort > /tmp/2
> [ask at embla ~]$ diff /tmp/1 /tmp/2
> [ask at embla ~]$
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
More information about the pool
mailing list