DNS config for VPN

Post Reply
mas54321
Posts: 15
Joined: Fri Mar 22, 2013 8:53 pm

DNS config for VPN

Post 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?
billion_fan
Posts: 5398
Joined: Tue Jul 19, 2011 4:30 pm

Re: DNS config for VPN

Post 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.
Post Reply