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

    Resolve internal DNS with OpenVPN Client connection

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 334 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.
    • G
      g4m3r7ag
      last edited by

      Hello,

      I currently have an OpenVPN client connection setup to a VPN provider. I have a rule in place that routes all traffic from a specific source address out that gateway. This was still allowing DNS to leak as DNS requests were being sent to my Domain Controller and then forwarding out my regular gateway. To resolve the DNS leak, I set the Static DNS entry on the Windows host to the VPN providers internal 10.x DNS server. Now all my DNS requests and traffic properly route to the VPN connection. The problem is now this host cannot easily communicate with other internal devices such as my domain controller and WSUS server as it is trying to resolve dc01.mydomain.com etc.. with the VPN DNS server.

      Is there a way to allow my internal hosts *.mydomain.com to resolve and still keep external DNS requests from this specific host filtering through the VPN connection? I am using my Domain Controller for DNS currently. I tried searching on this but all the results I was finding were about pushing DNS through the VPN connection.

      Thanks

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