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

    Policy based routing for DNS queries

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 2.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.
    • M
      memothejanitor
      last edited by

      Hi guys, I have pfSense setup in dualwan configuration.

      I have a VIP account with OpenDNS and it only lets you use OpenDNS on one WAN IP address, however I'm trying to get the PC's going through WAN2 to use that service also, of course since the public IP is different on WAN2 than WAN1 I am not able to use the VIP services OpenDNS provides. Is there a way to route dns queries through WAN1 hence forcing clients to go through WAN1, and the rest of the traffic through WAN2? Would routing port 53 through WAN1 resolve the issue?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        Try and let rest of us know.  ;)

        lan rule outgoing dns queries with assigned gateway should do it.

        1 Reply Last reply Reply Quote 0
        • M
          memothejanitor
          last edited by

          Routing 53 through WAN1 works! Don't need to pay OpenDNS any extra now  ;D

          1 Reply Last reply Reply Quote 0
          • M
            Metu69salemi
            last edited by

            great then

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