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

    DNS fails when WAN 1 goes down Multiwan Load balance Failover

    Routing and Multi WAN
    2
    6
    2.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.
    • E
      eyewittness
      last edited by

      Hi all,
      I'm using pfsense v1.12
      I have setup multi wan. When wan 1 goes down wan 2 takes over. But i have problems with the dns.
      I can't resolv any website any more when wan 1 goes down.
      I have put both dns wan 1 and wan 2 in the general tab dns box. I have put 2 internal Active Directory dns servers in the dhcp tab.
      Can someone tell me what i need to do to let the other dns work?

      If i put wan 2 dns server in the dhcp server then it works. But i like to use my 2 internal AD cause they need to resolv windoze clients.

      1 Reply Last reply Reply Quote 0
      • P
        Perry
        last edited by

        Try adding static routes for DNS servers

        /Perry
        doc.pfsense.org

        1 Reply Last reply Reply Quote 0
        • E
          eyewittness
          last edited by

          I have read that before. Can you tell me how to do that? I have absolutely no clue. Below system i went to static route and then?

          1 Reply Last reply Reply Quote 0
          • P
            Perry
            last edited by

            http://forum.pfsense.org/index.php?action=dlattach;topic=10793.0;attach=3191

            /Perry
            doc.pfsense.org

            1 Reply Last reply Reply Quote 0
            • E
              eyewittness
              last edited by

              Thank you,
              So network will be the DNS ip from the isp? and gateway the wans gateway adress?
              Do you have any more documentation?

              1 Reply Last reply Reply Quote 0
              • E
                eyewittness
                last edited by

                I have put those 2 routes into the table with my 2 isp gateways as destination.
                I also put those 2 dns servers in the general tab.
                I put my 2 internal dns servers for local resources in the DHCP tab.
                I enabled the DNS forwarder.
                I put my pfsense ip adress in the dns forwarder of my 2 internal dns servers.

                Now it works!

                THANKS PERRY!!

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