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

Defining a seperate DNS server for each interface

Scheduled Pinned Locked Moved Routing and Multi WAN
2 Posts 2 Posters 1.4k 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.
  • V
    vollmarj
    last edited by May 8, 2009, 5:31 PM

    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 May 10, 2009, 1:34 AM

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received