What's new

OpenVPN Server DNS Order or Removal?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!


Regular Contributor
I currently have OpenVPN setup on my router to LAN access only. But I need it to assign all the clients the internal DNS server.

So I added:

push "dhcp-option DNS"
push "dhcp-option DNS"

At the custom configuration. Windows clients are getting the DNS, BUT! For some reason, it is adding my router's IP on top of that list.
DNS Servers . . . . . . . . . . . :

I know I can add this to the client's configuration file, but I don't' want to do that since I have 20+ clients outside the LAN.

1) Is there anyway to re-order so my router's ip is the last on the resolver list
2) remove completely

Side question, is there any way to get push DNS working on Android devices?

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!