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

    VPN disabled and still using VPN DNS

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 541 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.
    • P
      Pentaganos
      last edited by

      Hi all, it's been awhile.

      I have setup a openvpn to a friends place in the UK and whenever I have the openvpn service running I am using his dns which is not what I want.

      basically when I turn the service on but have this rule enabled it forwards all my traffic to the LAN which is what I would like, but uses the VPN dns.

      Is there a way for me to change this? (if this is in the wrong section sorry, I thought it was a general question because it involves both DNS and VPN)

      Thanks

      1 Reply Last reply Reply Quote 0
      • P
        Pentaganos
        last edited by

        If anyone needs more information to help solve this issue please just ask.

        1 Reply Last reply Reply Quote 0
        • T
          tim.mcmanus
          last edited by

          Do you run your own DNS server?  What is your DHCP server giving out as DNS entries?

          1 Reply Last reply Reply Quote 0
          • P
            Pentaganos
            last edited by

            I am not running my own DNS server using ISP provided DNS, when i have the OpenVPN service turned on it uses the VPN dns and when i turn it off it uses the WAN dns. I would like it to always use the WAN dns.

            1 Reply Last reply Reply Quote 0
            • T
              tim.mcmanus
              last edited by

              Why don't you put your ISP's DNS servers into the DHCP server settings?  Then all of the clients would use those DNS servers.

              And if you're not running internal DNS, why does it really matter which DNS servers you're using?

              Did you Google solutions?

              https://serverfault.com/questions/318563/how-to-push-my-own-dns-server-to-openvpn

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