bind 9.6.1-P2.<br><br>I've dumped it to its file. <br>$ sudo rndc dumpdb<br>$ cat named_dump.db<br>...<br>; Unassociated entries<br>;<br>; 10.0.0.3 [srtt 610620] [flags 00002000] [ttl 1721]<br>; 10.0.0.2 [srtt 16654] [flags 00002000] [ttl 1721]<br>
; 10.0.0.1 [srtt 375289] [flags 00002000] [ttl 1721]<br>...<br><br>So I can assume that srtt with the lowest value has the best metric? And the ttl of 1721 is the timeout of 1.7 seconds? Am I reading that right?<br>
<br><br><br><div class="gmail_quote">On Mon, Apr 19, 2010 at 4:26 AM, Cathy Almond <span dir="ltr"><<a href="mailto:cathya@isc.org">cathya@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
A long time ago it used to be in turn, but all current versions of BIND<br>
sort the forwarders based on a preference value (SRTT) that's derived<br>
from the RTT of previous query/query response interactions, with a 'time<br>
since we last tried this server' incorporated so that servers that<br>
aren't top of the preference list are periodically re-used. It also<br>
means that if a server becomes unavailable, it gets time-penalised and<br>
therefore the others of the group will be used instead until the penalty<br>
has decreased over time - at which point, if it's back and running once<br>
more then it's going to be selected (or not) as before on 'nearness'.<br>
<br>
You can see the SRTT value of nameservers in the ADB section of the<br>
cache dump (from rndc dumpdb). Smaller values are preferred.<br>
<br>
What version are you using?<br>
<div><div></div><div class="h5"><br>
<br>
Jonathan Reed wrote:<br>
> I have the forwarders statement to fwd queries to a few DNS servers on my<br>
> LAN.<br>
> forwarders { 10.0.0.1;<br>
> 10.0.0.2;<br>
> 10.0.0.3; }<br>
> The bind documentation says that these fwders are queried "in turn", but<br>
> what exactly does that mean? I understand it to mean that they are not round<br>
> robined and if the answer is found from the first IP then it stops there and<br>
> returns the query to the client. But assume that .1 goes unreachable. What<br>
> is the timeout used to query the next forwarder in the list? And is this<br>
> timeout modifiable?<br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> bind-users mailing list<br>
> <a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
<br>
_______________________________________________<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div><br>