Block DNS queries in Windows when disabling OpenVPN
When connecting to the MultiVPN server on the OpenVPN, you are assigned two default DNS resolvers. At the same time, your provider's DNS servers become temporarily unavailable for use, which helps to avoid DNS leaks in your system.
However, after the session with the OpenVPN server ends, the DNS servers of the provider become available again! If you disconnect from the VPN server by accident, your privacy may be compromised!
You can completely block all DNS queries on your system if they do not fit into the scope of an OpenVPN connection.
Open Network and Sharing Center
In the window that opens, go to "Change adapter settings"
Right-click the network adapter and select the "Properties" menu item
Disable Internet Protocol Version 6 (more). Select Internet Protocol Version 4 and click Properties
Switch to the "Use the following DNS server addresses" mode and enter the specified IP addresses of the DNS resolvers of the MultiVPN service in the corresponding fields. This example shows the DNS servers located in Europe. 22.214.171.124 - Germany and 126.96.36.199 - the Netherlands. Apply settings by clicking "OK"
Another example of configuring MultiVPN DNS servers. North America. 188.8.131.52 - USA, 184.108.40.206 - Canada.
We recommend that you perform the same steps with all network adapters in your system.
Now, all DNS queries in your system are processed by MultiVPN network servers. These servers will block DNS queries if they came not from the VPN service network.
To unblock DNS queries using this method, switch to the "Obtain DNS server address automatically" mode and apply these settings.