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

    Pinning DNS servers to gateways important?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 4 Posters 1.7k 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.
    • R
      rippz
      last edited by

      I can configure 4 DNS server under System -> General Setup. The description says:

      In addition, optionally select the gateway for each DNS server. When using multiple WAN connections there should be at least one unique DNS server per gateway.

      All the dns server are reachable through every gateway because I use public DNS server. So should I just select "none" on every dns server?

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

        The gateway setting is primarily useful in multi-WAN scenarios where you need to make sure that you have one DNS server per WAN configured.

        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!

        1 Reply Last reply Reply Quote 0
        • C
          CDuv
          last edited by

          @jimp:

          The gateway setting is primarily useful in multi-WAN scenarios where you need to make sure that you have one DNS server per WAN configured.

          Won't selecting "none" as stated above achieve that goal (no sticky rule = "use whatever you want")?

          1 Reply Last reply Reply Quote 0
          • P
            phil.davis
            last edited by

            When "none" is selected, the DNS queries will all go out the default gateway. If that goes down, then no DNS. You can enable "default gateway switching" as long as all your WANs (interfaces with a gateway set) lead to the public internet - then the system will switch to another gateway and DNS will "failover".
            Choosing a particular gateway for each DNS server means you don't need to use "default gateway switching" and spreads the DNS query load between WAN links.

            As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
            If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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