What's new

Vpn server respond to a specific DNS

  • 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!

Swistheater

Very Senior Member
Is there away to set up the vpn server to advertise a specific dns aside from the isp dns?
 
I'd guess that you'd need to turn off "Advertise DNS to clients" and the add the following Custom configuration:

push "dhcp-option DNS 8.8.8.8"
 
I use Nordvpn which gives me the option of using their dedicated DNS which prevents data leaks ( so they say). I just go to WAN - Internet Connection where it says Connect to DNS Server automatically. I choose no & input the ip addresses supplied by Nordvpn in the 2 boxes provided. You can choose other dns servers as well such as opendns etc. This is just a way to override the auto connect to ip's default dns which is often Google. That is what Roku, Netflix etc use to verify geolocation. It redflags your connection when ip address doesn't match google dns server. That is where vpn /smartdns proxy configuration plays a role.
 
Sorry didn't catch that. I guess it would come down to the configuration of the vpn server. Openvpn server settings within the router look basic. That is where a dedicated vpn server would offer more flexibility.

I see an entry Respond to DNS under advanced settings. Not sure what that does. I still think it comes down to settings at the client end. found this link https://www.snbforums.com/threads/openvpn-and-resolving-dns-names-on-vpn-network.31193/ Maybe that will solve the situation?
 
I'd guess that you'd need to turn off "Advertise DNS to clients" and the add the following Custom configuration:

push "dhcp-option DNS 8.8.8.8"

this method works perfect except you have to turn off advertise DNS to client when pushing a specific DNS because otherwise it notice it conflicts with ISP Dns.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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