DNS leak with openvpn

Dear all,

I’m having a DNS leak tested using dnsleaktest.com

There’s a suggestion using block-outside-dns but it’s not recognized.

I’m using latest openvpn from vpn repos

Please help

 	 	 	   Search/Yast2Modules/Network Card Setup/Address/Statically Assigned IP Address:  

Choose the fastest VPN server and type its IP address there. In general option, disable IPv6. Save, exit and reboot. See if it works? If not, set it back to Dynamic Address. This method works fine in *u when its leaking, but it may be slower at startup.

What is your VPN Client?

To configure your DNS servers to be changed automatically whenever you either establish an OpenVPN connection or disconnect (returning to your normal network settings),

https://wiki.archlinux.org/index.php/OpenVPN#DNS

Else,
There are a number of different ways you can manually change DNS… The above post is one way, another way is to edit /etc/resolv.conf directly (your edits will survive until the next reboot), etc.

TSU

i’m connecting to wireless network using Network Manager on my laptop, so signing static IP is not an option for me

thank you, i manage to automatically change DNS using VPN using the script in the link :good: