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

    OpenVPN: Windows clients use option dns server as their default dns

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    4 Posts 2 Posters 2.9k 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
      mxx
      last edited by

      Hi,

      I got a problem with windows clients connecting via OpenVPN.
      As long as I provide them with pfsense's dns server (forwarder), they use it as their default dns server. It doesn't matter whether I set a default domain or not.

      The reason I don't want this to happen is that I'm overriding the hostname/address of a particular host in the lan in the dns forwarder. This should only take effect for local clients but not remote clients.

      Is there any way I can solve this remotely via some switches in the openvpn server config?

      Thank you very much!

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        That's how it's supposed to work. Default domain has nothing to do with that. OpenVPN can't control that. That's a Windows question (you can muck with the binding order but it gets to be a real PITA with any type of VPN on Windows).

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

          Thank you!

          So I have to set up bind somewhere, or does tinydns allow different settings per network too?

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            tinydns doesn't allow that AFAIK, believe you'll need BIND.

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