View Full Version : [ubuntu] OpenVPN push DNS

December 5th, 2008, 09:51 PM
I have VPN server on Intrepid (desktop machine) and in config file I have

push "dhcp-option DNS"

On a client machine (Intrepid also) I am using Network Manager to connect to VPN server. I am connected via WLAN (localIP of the access point is Works fine, but if I say cat /etc/resolv.conf, I got this:

# Generated by NetworkManager
domain wlan
search wlan

If I disconnect, "nameserver" line disappears, which is correct, but the problem is that I still have as nameserver.

Whn I try to do tcpdum on a client machine and filter all traffic going to VPN (tcpdump -i ra0 not host VPN_server_IP), I can see DNS leaking.

How to prevent this?

July 13th, 2010, 06:26 PM
wrong post - message deleted