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

    OpenVPN + DNS Resolver + FQDN resolution

    Scheduled Pinned Locked Moved OpenVPN
    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.
    • M
      mightyschwartz
      last edited by

      Hello All,

      I've seen this posted in a few areas, but have not been able to find the solution.

      I have a very basic pfSense setup using a 10.0.0.X for my local machines and 10.0.1.X for my OpenVPN server.

      I have *.mydomain.com pointing at a public web server and then some specific A names in that DNS that point to my home.

      I use DNS Resolver set up to resolve local machines on my networking using the FQDN. So, I can have test.mydomain.com point to my home from my public DNS and then test.mydomain.com point to say, 10.0.0.25 internally. My issue is that when connected to my network using OpenVPN, I can only resolve hostnames, but not FQDNs. Those seem to point me to my public web server IP.

      Here is my DNS Resolver setup:

      Here is my IP Config for my VPN adapter when connected:

      Here is me resolving a host name, but not FQDN while VPNed… seems like the Google default of 8.8.4.4 is taking over here

      Here is me resolving host and FQDN via my local machine on the network:

      Halp? :)

      edit: fix image links

      B 1 Reply Last reply Reply Quote 0
      • B
        bdeprez @mightyschwartz
        last edited by

        @mightyschwartz

        Hi, did you ever find a solution for this? I know this is an old topic but I'm having the same issue...

        Thanks,
        B.

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