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

    DNS Resolver (Unbound) + OpenVPN = cannot resolve local resources

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 1 Posters 757 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
      McFuzz
      last edited by

      Hi all,

      Currently running pfSense 2.4.4-RELEASE-p2 and am experiencing an odd issue when it comes to resolving "LAN" resources while connected to my home network via OpenVPN.

      Recently, I migrated from pfBlockerNG to pfBlockerNG-devel and since I wanted to take advantage of DNS Blocking, I migrated from DNS Forwarder to DNS Resolver. My DNS resolver settings are can be found here:

      alt text

      Once connected via OpenVPN (say from work), I am unable to resolve any of my local resources. For example - server name is "storage" and search domain is "home" - ping storage or ping storage.home yields no results (though pinging the IP address gets a resolve). Trying to nslookup the storage or storage.home defaults to my work DNS server; thought if I force using my remote DNS server (dig +short @ip.addr A storage.home) - I do get a proper resolution.

      I've tried the following to no avail:

      • Change Network Interfaces and Outgoing Network Interfaces to use different iterations of WAN/LAN/LOCALHOST with no changes.

      • Disabled DNSSEC - no changes.

      • Added the VPN network in Unbound's Access List - no changes.

      I then disabled pfBlockerNG-devel and Unbound, reverted to DNS Forwarder and right away, everything started functioning as intended.

      Next, went back to Unbound and pfBlocker, rebooted pfSense and for the first few moments - everything worked perfectly! Woohoo! However, shortly thereafter, I was back to square one where it was not resolving any local resources.

      I am a bit a at a loss here - not sure where to proceed. Could someone share some guidance?

      Thanks!

      M 1 Reply Last reply Reply Quote 0
      • M
        McFuzz @McFuzz
        last edited by

        Quite odd but it randomly started working again... not sure for how long, though :\

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

          Another update: it seems that with every VPN connection, unbound crashed... :(

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