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

    push dns record?

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 3 Posters 1.1k 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.
    • S
      Stefan-Cplanet
      last edited by

      Hello, just a quick question,
      Can Psense/OpenVPN push DNS entry?
      Basically, what I need is equivalent of adding "1.1.1.1 example.com example" in the clients hosts file? I do not have control over DNS server so I cannot add it there. Thanks

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You can't do that in OpenVPN directly. But if you have OpenVPN send DNS to the clients pointing to pfSense, and also push the "Block outside DNS" option to them, and add host overrides on pfSense with the records you want, that's about as close as you can get.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • noplanN
          noplan
          last edited by

          workin with a splitt tunnel too ?
          not yet tested (tomorrow on the toDo list)
          mybe some time for coffee can be safed

          #staySafe

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