Tunnel DNS requests?

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Freek
Posts: 11
Joined: Tue Apr 09, 2013 8:07 pm

Tunnel DNS requests?

Post by Freek » Fri Apr 12, 2013 5:15 am

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.

Freek
Posts: 11
Joined: Tue Apr 09, 2013 8:07 pm

Re: Tunnel DNS requests?

Post by Freek » Tue Apr 16, 2013 9:18 am

Bump. Is this possible yes/no?

Thanks

cedar
Site Admin
Posts: 1023
Joined: Sat Mar 09, 2013 5:37 am

Re: Tunnel DNS requests?

Post by cedar » Wed Apr 17, 2013 1:34 am

Nothing prevents DNS queries over a VPN fundamentally.
Please try to change DNS setting of your OS.

Freek
Posts: 11
Joined: Tue Apr 09, 2013 8:07 pm

Re: Tunnel DNS requests?

Post by Freek » Wed Apr 17, 2013 6:46 am

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?

cedar
Site Admin
Posts: 1023
Joined: Sat Mar 09, 2013 5:37 am

Re: Tunnel DNS requests?

Post by cedar » Thu Apr 18, 2013 12:40 am

I think so.
But I don't know much about OpenVPN client.

sorset
Posts: 20
Joined: Thu Apr 04, 2013 1:42 pm

Re: Tunnel DNS requests?

Post by sorset » Thu Apr 18, 2013 7:34 am

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.

Freek
Posts: 11
Joined: Tue Apr 09, 2013 8:07 pm

Re: Tunnel DNS requests?

Post by Freek » Mon Apr 22, 2013 12:43 pm

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

cedar
Site Admin
Posts: 1023
Joined: Sat Mar 09, 2013 5:37 am

Re: Tunnel DNS requests?

Post by cedar » Tue Apr 23, 2013 6:49 am

Why don't you try using the Google public DNS.
https://developers.google.com/speed/pub ... sing?hl=ja

Freek
Posts: 11
Joined: Tue Apr 09, 2013 8:07 pm

Re: Tunnel DNS requests?

Post by Freek » Sun Apr 28, 2013 12:52 pm

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!

cedar
Site Admin
Posts: 1023
Joined: Sat Mar 09, 2013 5:37 am

Re: Tunnel DNS requests?

Post by cedar » Mon Apr 29, 2013 10:19 am

What OS are you using as client?
Is the default gateway of your PC on the virtual network adapter of the VPN?

Post Reply