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!

mbze430

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:

Code:
push "dhcp-option DNS 192.168.69.3"
push "dhcp-option DNS 192.168.69.5"

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.
Resulting:
Code:
DNS Servers . . . . . . . . . . . : 192.168.69.1
                                       192.168.69.3
                                       192.168.69.5

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 192.168.69.1 ip is the last on the resolver list
or
2) remove 192.168.69.1 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!
Top