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

    How to share DNS resolvers?

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 592 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.
    • dimskraftD
      dimskraft
      last edited by

      I am connecting two LANs with OpenVPN inside pfSense.

      Both LANs have DNS resolvers inside, which are also resolving DHCP leases.

      Is it possible to share this data betweem resolvers?

      For example, if I travel with some computer from one LAN to another, and plug it in new places, can it be found but it's name from any LAN?

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @dimskraft
        last edited by

        I think you're looking for a domain override? That can be used to forward requests to a particular DNS server or servers.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        johnpozJ 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @SteveITS
          last edited by johnpoz

          Yeah domain override would work - just make sure that unbound allows via ACL queries from the other site IP range.

          Also keep in mind that if your looking for machineX, which might be machineX.sitea.tld, when it moves and gets a new dhcp lease in site b. You would want to find it via machineX.siteb.tld fqdn

          If you setup your machines to use suffix search for both siteA.tld and siteB.tld would be possible for the user to just look for machineX

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

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