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

    Resolving dns in another network

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 975 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.
    • B Offline
      Blade1
      last edited by

      Hi,

      I have a PFSense vm connected to two networks (Sandbox1 and Sandbox2) and a WAN interface. This is for the sandbox1 network, and for sandbox2, I have likewise.

      What I want to do is resolve dns names/IPs in sandbox2 (which has a full DNS environment) from sandbox1 (which also has a full dns environment). How can I achieve this exactly?

      1 Reply Last reply Reply Quote 0
      • KOMK Offline
        KOM
        last edited by

        What do you mean by 'full DNS environment'?  Is pfSense handling DNS or is another server in each LAN doing it?

        1 Reply Last reply Reply Quote 0
        • B Offline
          Blade1
          last edited by

          @KOM:

          What do you mean by 'full DNS environment'?  Is pfSense handling DNS or is another server in each LAN doing it?

          Apologies I was going to add this to my post.

          Each LAN has two Windows DNS servers with forwarders set. So I'm looking to have the following flow of DNS traffic:

          To resolve an nslookup request, Sandbox1: Server > DNS Server > Sandbox1PFSense > SandBox2PFSense

          1 Reply Last reply Reply Quote 0
          • KOMK Offline
            KOM
            last edited by

            Assuming you already have firewall rules in place to keep these LANs from talking to each other, you would create a single rule for your sandbox1 LAN so that the IP address of the DNS server in sandbox1 can talk to the IP address of the DNS server in sandbox2 LAN on tcp/udp 53.  Then you add the DNS server in sandbox2 as an upstream server for your DNS server in sandbox1.

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