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

    Local DNS over OpenVPN

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 1.5k 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.
    • R Offline
      rubarb
      last edited by

      Hi,

      I am running several server on my local network and each has an FQDN assigned by pfsense. When I try to connect to those server locally, everything works fine using "server.myhomenet". Sadly this is not possible, when I connect over OpenVPN (although using the IP works).

      What can I do to get this working?

      I have my configuration attached:

      kind regards rubarb

      dns-resolver.png
      dns-resolver.png_thumb
      OpenVPN-part1.png
      OpenVPN-part1.png_thumb
      OpenVPN-part2.png
      OpenVPN-part2.png_thumb
      OpenVPN-part3.png
      OpenVPN-part3.png_thumb
      OpenVPN-part4.png
      OpenVPN-part4.png_thumb

      1 Reply Last reply Reply Quote 0
      • G Offline
        gjaltemba
        last edited by

        I have an entry in custom options. Works for me.

        push "dhcp-option DOMAIN myhomenet"

        Also I have checked Provide a default domain name to clients and specified the DNS Default domain as myhomenet

        1 Reply Last reply Reply Quote 0
        • R Offline
          rubarb
          last edited by

          Thanks for the advice, I tried it.

          It only works once, after that I need to use IPs again.  :-\

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