# DNS upstream usage sequence

**URL:** <https://community.ipfire.org/t/dns-upstream-usage-sequence/13550>\
**Category:** Network\
**Created:** [4 February 2025 11:29 UTC](https://community.ipfire.org/t/dns-upstream-usage-sequence/13550 "2025-02-04T11:29:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qswroot](https://community.ipfire.org/user_avatar/community.ipfire.org/qswroot/32/10276_2.png) [@qswroot](https://community.ipfire.org/u/qswroot)\
**Post date:** [4 February 2025 11:29 UTC](https://community.ipfire.org/t/dns-upstream-usage-sequence/13550/1 "2025-02-04T11:29:34Z")

</div>

I did not find the answer in the Wiki, so I wonder if there is any usage sequence if more than one DNS upsream server is used - is it round-robin, or just alphabetical order?

And if I enter only one upstream server, and this one is offline for maintenance, IPfire uses its own recursion - but how often are the upstream servers tested for availability? Is it periodically, e. g. each minute?

---

<div class="post-metadata">

**Author:** ![arne\_f](https://community.ipfire.org/user_avatar/community.ipfire.org/arne_f/32/12760_2.png) [@arne\_f](https://community.ipfire.org/u/arne_f)\
**Post date:** [5 February 2025 14:02 UTC](https://community.ipfire.org/t/dns-upstream-usage-sequence/13550/2 "2025-02-05T14:02:56Z")

</div>

Unbound test the servers to determine which is the fastest by sending queries to multiple servers. If a server is down it is blocked for 15min and then tested again.

It try to use the fastest server most of the time.

[https://unbound.docs.nlnetlabs.nl/en/latest/reference/history/info-timeout-server-selection.html](https://unbound.docs.nlnetlabs.nl/en/latest/reference/history/info-timeout-server-selection.html)

unbound will only use recursion if no server is configured. (no auto fallback.)
