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

    Multiwan and DNS Resolver

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 3 Posters 712 Views
    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.
    • D
      dpa
      last edited by

      Hello,

      I have 3 WANs and running DNS Resolver. I noticed that when 1 WAN goes offline, clients in the LAN side are getting DNS issues on their browsers. It will take a couple of page refresh/reload for the page to load. Loading web pages in general is very slow.

      System/Routing/Gateways settings:
      Default gateway IPv4 = Multiwan group (all three)

      DNS Resolver settings:
      Enable Forwarding Mode = unchecked
      Outgoing Network Interfaces = all three WANs

      Been reading a lot regarding Unbound and best practices, but I still don't have a clue on this issue. I would be grateful if someone can help me on this.

      Thanks a lot.

      kiokomanK 1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8 @dpa
        last edited by kiokoman

        @jimp one time said:

        We recommend forwarding mode for unbound [only when used with Multi-WAN] because then it could respect a static route for specific forwarders for each WAN. Otherwise it would always send requests to the roots via the default WAN even if it was down.

        https://forum.netgate.com/topic/81789/unbound-and-multi-wan-forwarder-explanation

        Probably still true

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        D 1 Reply Last reply Reply Quote 0
        • D
          dpa @kiokoman
          last edited by

          @kiokoman Oh! I must have missed this thread. Thanks! Hopefully someone from the dev will clarify this for us. :)

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            If your default gateway group is a failover group (every gateway on a different tier) then it should still work in resolver mode since the default gateway should always be present & up.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            D 1 Reply Last reply Reply Quote 0
            • D
              dpa @jimp
              last edited by

              @jimp said in Multiwan and DNS Resolver:

              If your default gateway group is a failover group (every gateway on a different tier) then it should still work in resolver mode since the default gateway should always be present & up.

              Thanks @jimp! I set the default gateway to the 3 WAN group with the same tier. I was with the understanding that same tier will also do failover when one goes offline.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                For policy routed traffic, yes. But default gateway switching doesn't support load balancing, only failover.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                D 1 Reply Last reply Reply Quote 0
                • D
                  dpa @jimp
                  last edited by

                  @jimp said in Multiwan and DNS Resolver:

                  For policy routed traffic, yes. But default gateway switching doesn't support load balancing, only failover.

                  Yes I can now confirm this. Thank you @jimp! Now my DNS Resolver is working flawlessly.

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