Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Clients not using configured DNS server

    Scheduled Pinned Locked Moved IPsec
    3 Posts 1 Posters 952 Views 1 Watching
    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.
    • SteveITSS
      SteveITS Galactic Empire
      last edited by

      We have a client we inherited whose Windows domain name was set up as their "example.org" web site. Not ideal, and we can rename the domain...we just haven't bothered yet and I don't think it would solve our immediate problem anyway.

      We set up IPSec for several remote workers and those PCs are not using the IPSec configured DNS server. Config:
      a661169d-e530-48df-8eee-8986770f914f-image.png
      We started with just the DNS server list (IP of the Windows DC). nslookup directly using 192.168.1.3 from a VPN client PC works fine. But resolving the name without specifying a DNS server uses their own/public DNS so that lookup finds the IP of their web server. (and as noted above, renaming the domain to example.lan would probably just result in example.lan not resolving)

      How can we get the remote clients (Windows 10, 11, MacOS) to use 192.168.1.3 for DNS for at least the example.org domain?

      Incidentally the docs say for Split DNS that "If the option is checked and the text box is empty, and a DNS Default Domain is set, then only requests for that domain name will go to the provided DNS Server(s)." I found if I check the Split box and leave the field blank, and save the page, the checkmark is removed. If someone can please verify, I'll open a Redmine entry.

      To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
      Only install packages for your version of pfSense.
      Upvote ๐Ÿ‘ helpful posts!

      SteveITSS 2 Replies Last reply
      Reply Quote 0
      • SteveITSS
        SteveITS Galactic Empire @SteveITS
        last edited by

        To perhaps clarify, the Windows remote/VPN client shows 192.168.1.3 in the ipconfig /all output under the VPN connection. It just isn't being used.

        To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
        Only install packages for your version of pfSense.
        Upvote ๐Ÿ‘ helpful posts!

        1 Reply Last reply
        Reply Quote 0
        • SteveITSS
          SteveITS Galactic Empire @SteveITS
          last edited by

          I searched a while and found some references that the behavior changed in Windows 10, where Windows uses the interface metric to send DNS queries. Traffic still goes out the default interface. Lower metric = higher priority.

          list via PowerShell:

          Get-NetIPInterface | Select-Object -Property InterfaceAlias, InterfaceMetric | Sort-Object -Property InterfaceMetric
          

          change via PowerShell:

          Set-NetIPInterface -InterfaceAlias "VPN Connection" -AddressFamily IPv4 -InterfaceMetric 20
          

          (and IPv6 if necessary)

          To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
          Only install packages for your version of pfSense.
          Upvote ๐Ÿ‘ helpful posts!

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better ๐Ÿ’—

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy