Page 1 of 1

DNS config for VPN

Posted: Fri Oct 24, 2014 8:00 am
by mas54321
Hi

I run my own DNS @ home - configured via the DHCP settings on my billion
Accordingly, I disabled DNS Proxy within the router.

So at home, whether my server or the billion gives a DHCP address, the DNS is set to 192.168.2.10. (the router has an IP of 192.168.2.254)

When I create a VPN connection into the router, I get a DNS server of 192.168.2.254 (i.e the router), subsequently DNS resolution fails. How do I configure the allocated DNS server for my VPN clients?
If it's configured via the DNS proxy service... I do not want the router to intercept DNS requests and have only my router IP in the DNS bind log of my server

So how do I configure DNS for VPN clients, without changing how my internal resolution/logging works?

Re: DNS config for VPN

Posted: Fri Oct 24, 2014 12:39 pm
by billion_fan
mas54321 wrote:Hi

I run my own DNS @ home - configured via the DHCP settings on my billion
Accordingly, I disabled DNS Proxy within the router.

So at home, whether my server or the billion gives a DHCP address, the DNS is set to 192.168.2.10. (the router has an IP of 192.168.2.254)

When I create a VPN connection into the router, I get a DNS server of 192.168.2.254 (i.e the router), subsequently DNS resolution fails. How do I configure the allocated DNS server for my VPN clients?
If it's configured via the DNS proxy service... I do not want the router to intercept DNS requests and have only my router IP in the DNS bind log of my server

So how do I configure DNS for VPN clients, without changing how my internal resolution/logging works?
I don't think you can as the router is the VPN server (there is no option to set a manual DNS server to the VPN server)

The only option is to set a static DNS to the clients VPN tunnel.