buy VPN with paypal Buy VPN with Paypal & Credit Card. To purchase VPN with PayPal & Credit Card, please contact us: sales [at] rapidvpn.com

How to fix DNS leak in Windows? | VPN DNS leak | fix DNS leak

The increase in the number of cybercrime incidents motivates most people to use a VPN (Virtual Private Network) when browsing the internet. The virtual private network software is engineered to mask your real IP address, internet service provider, and location thereby giving you access to the geo or IP restricted sites and content. Domain name system (DNS) is a sophisticated system that is designed to link website URLs to IP addresses. When you use your browser to access a particular site, the browser automatically sends signal requests to the DNS server indicating your IP address and the URL of the website that you intend to visit. This means that the servers can be used to record and keep track of your browsing trends of online activities without your consent.

Method A

Step 1: Setting up Google DNS or OpenDNS (Must be done before connecting to your VPN)

1 Go to the "Control Panel" , "Network and Internet" , "Network and Sharing Center" , and click on "Change adapter settings".
DNS Leak - Step 1
2Right click your main Internet connection, and select "Properties".
DNS Leak - Step 2
3Select "Internet Protocol Version 4 (TCP/IPv4)" and click "Properties".
DNS Leak - Step 3
4In DNS area, add Google DNS "8.8.8.8" and "8.8.4.4" or OpenDNS "208.67.222.222" and "208.67.220.220".
DNS Leak - Step 4

Step 2: Disable Teredo

1Open "Command Prompt": Click on start menu and in the search box type "cmd". In the search result, right-click on "cmd" and select "Run as administrator"
DNS Leak - Step 5
2In opened window (cmd) type netsh interface teredo set state disabled and press enter.
DNS Leak - Step 6
3Restart your computer.
If you want to re-enable Teredo in the future, open Command Prompt and type netsh interface teredo set state type=default

Method B

1Open "Command Prompt": Click on start menu and in the search box type "cmd". In the search result, right-click on "cmd" and select "Run as administrator"
DNS Leak - Step 7
2To see your connected network, in opened window (cmd) type netsh interface show interface and press enter. In this example the connected netword is "ADSL"
DNS Leak - Step 8
3Connecto to your VPN now.
4In opened window (cmd) type ipconfig /flushdns and press enter.
DNS Leak - Step 9
5In opened window (cmd) type netsh interface ipv4 delete dnsservers "ADSL" all and press enter. This will remove the DNS settings from your network interface.
Note: Replace "ADSL" with the name of your connected interface
6After disconnecting from your VPN you can renew your previous DNS settings. Type: netsh interface IPv4 set dnsserver "ADSL" dhcp and press enter.
7In the last part, type: ipconfig /flushdns and press enter.