Page 1 of 1

Tunnel DNS requests?

Posted: Fri Apr 12, 2013 5:15 am
by Freek
Hello,

Currently, DNS requests are not being tunneled. Is there a way to tunnel DNS requests as well?
For OpenVPN, one usually would use 'dnsmasq' to accomplish this together with these options in OpenVPN
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.8.0.9"

Thanks.

Re: Tunnel DNS requests?

Posted: Tue Apr 16, 2013 9:18 am
by Freek
Bump. Is this possible yes/no?

Thanks

Re: Tunnel DNS requests?

Posted: Wed Apr 17, 2013 1:34 am
by cedar
Nothing prevents DNS queries over a VPN fundamentally.
Please try to change DNS setting of your OS.

Re: Tunnel DNS requests?

Posted: Wed Apr 17, 2013 6:46 am
by Freek
cedar wrote:
> Nothing prevents DNS queries over a VPN fundamentally.
> Please try to change DNS setting of your OS.

Thanks for your reply, I appreciate it!
Do you mean I should change the settings of the VPN Tunnel Adapter in the Network Center in Windows, and change the DNS to the IP of the server running SoftEther?

Re: Tunnel DNS requests?

Posted: Thu Apr 18, 2013 12:40 am
by cedar
I think so.
But I don't know much about OpenVPN client.

Re: Tunnel DNS requests?

Posted: Thu Apr 18, 2013 7:34 am
by sorset
Hello
In our country they check our dns requests and for some servers like facebook, it resolves with a local IP like 10.10.32.32!!!!
So I should force my connection to send its dns requests through vpn.
Most of times It do throgh vpn but sometimes not! But Why?
I tried to disable dns cache but sometimes still have this problem.
Im using NAT.

Re: Tunnel DNS requests?

Posted: Mon Apr 22, 2013 12:43 pm
by Freek
cedar wrote:
> I think so.
> But I don't know much about OpenVPN client.

How can I tunnel DNS requests using the SoftEther Client?
What changes do I need to make? I cannot find this :(

Thanks

Re: Tunnel DNS requests?

Posted: Tue Apr 23, 2013 6:49 am
by cedar
Why don't you try using the Google public DNS.
https://developers.google.com/speed/pub ... sing?hl=ja

Re: Tunnel DNS requests?

Posted: Sun Apr 28, 2013 12:52 pm
by Freek
I've already done that but SoftEther VPN Client keeps using the DNS servers of my LOCAL network. I want it to use the DNS server of my server runnign SoftEther Server. Now my local network administrator can see my DNS requests and block them!

Re: Tunnel DNS requests?

Posted: Mon Apr 29, 2013 10:19 am
by cedar
What OS are you using as client?
Is the default gateway of your PC on the virtual network adapter of the VPN?