1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

OpenVPN Server DNS Order or Removal?

Discussion in 'Asuswrt-Merlin' started by mbze430, May 24, 2019.

Tags:
  1. mbze430

    mbze430 Occasional Visitor

    Joined:
    Feb 1, 2015
    Messages:
    34
    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?
     
  2. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    9,098
    Location:
    UK
    What happens if you set "Advertise DNS to clients" to No?
     
    mbze430 likes this.
  3. mbze430

    mbze430 Occasional Visitor

    Joined:
    Feb 1, 2015
    Messages:
    34
    Sweet that works. But doesn't look like push is working on Android devices.... ughhh