Score:0

How does bind 9 choose a forwarder when multiple are configured?

ph flag

If I have a dns view that has four forwarders configured, how does bind choose which forwarder to use? And what happens if the first one chosen does not respond in a timely manner? I can't find any info in the bind 9 documentation on this.

Does bind try the first forwarder and if no response go to the second one and so on? Or maybe bind knows which forwarder is closest. I need to know how bind 9 decides which forward to use so I can make the appropriate design decisions.

Score:2
in flag

Bind uses a methodology named "smoothed round-trip time". Basically it chooses the fastest responding server, and prefers using that one. From time to time, bind queries the other servers in order to update the SRTT values, which allows servers to "catch up", but also decays the chance of slower servers to become the primary forwarder. This also this means that a (small) portion of your queries will use the slowest server, no matter what.

If a server is not responding, another one is tried, and the non-responsive server's SRTT value gets incremented.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.