Navigation

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

    Defining a seperate DNS server for each interface

    Routing and Multi WAN
    2
    2
    1315
    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.
    • V
      vollmarj last edited by

      Alright, I have dual-WAN and setup failover. I also have a segment of my network using the WAN connection and another segment using the OPT1 connection by creating firewall rules. That is working great, except one major issue: It seems like all the DNS lookups are going out through WAN. Both connections need to use OpenDNS for the DNS server, but I want the requests to be sent out through the appropriate public IP.

      Basically, I want to have different OpenDNS settings for the WAN IP vs the OPT1 IP. To do this, the dns requests cant all come from WAN! Any ideas?

      1 Reply Last reply Reply Quote 0
      • I
        idkpmiller last edited by

        I may have misunderstood what you are trying to acheive, here is how I understand it.

        Host A on local network goes through WAN interface and sees OpenDNS setting apprioriate for WAN derived traffic.
        Host B on local network goes through Opt1 interface and sees OpenDNS setting apprioriate for Opt1 derived traffic.

        How I would acheive this first I would switch off the PFsense DNS forwarder.

        next I would add the OpenDNS server IPs either statically or through DHCP to the end hosts.

        Then have rules that constrain traffic for each host goes through which WAN.
        You can still use failover if you wish to provide it for any services that do not require DNS lookups for initiation or during use, such as MSN, games etc….

        If you have a lot of hosts I would go one step further and create an Alias list for the two groups and pop in the hosts that you want in each list.

        Cheers

        Paul

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense Plus
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy