Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Order of precedence in multiple forward-addr in unbound

    DHCP and DNS
    1
    2
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Andrew453
      last edited by

      Hi. I couldn't find an answer to this from Googling.

      If I have the following in my unbound configuration, do each of the three upstream dns servers get used equally (load balancing style), or are they queried in sequence but only if the first server doesn't respond etc (i.e. in fail over style)?

      forward-zone:
        name: "."
        forward-addr: 9.9.9.9@853
        forward-addr: 149.112.112.112@853
        forward-addr: 8.8.8.8@853
      

      If they are effectively load balanced, is there a way of setting it up so that one or more of the upstream servers only work on a fail-over basis please?

      1 Reply Last reply Reply Quote 0
      • A
        Andrew453
        last edited by

        p.s. I also checked the unbound documentation but it doesn't seem to address this particular point.

        The documentation can be found here: https://nlnetlabs.nl/documentation/unbound/unbound.conf/

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.