VPN DNS Leak

VPN DNS Leak

How to fix DNS leak: Two easy steps to prevent dns leaking

Select your proper OS version

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". How to fix DNS Leak in Windows - Step 1 Or you can type "ncpa.cpl" in Run (Start > Run) and enter
  2. Right click your main Internet connection, and select "Properties". How to fix DNS Leak in Windows - Step 2
  3. Select "Internet Protocol Version 4 (TCP/IPv4)" and click "Properties". How to fix DNS Leak in Windows - Step 3
  4. In 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". How to fix DNS Leak in Windows - Step 4
  5. Step 2: Disable Teredo

  6. Open "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" How to fix DNS Leak in Windows - Step 5
  7. In opened window (cmd) type
    netsh interface teredo set state disabled
    and press enter. How to fix DNS Leak in Windows - Step 6
  8. Restart 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

  1. Open "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" How to fix DNS Leak in Windows - Step 7
  2. To see your connected network, in opened window (cmd) type
    netsh interface show interface
    and press enter. In this example the connected netword is "ADSL" How to fix DNS Leak in Windows - Step 8
  3. Connecto to your VPN now.
  4. In opened window (cmd) type
    ipconfig /flushdns
    and press enter.How to fix DNS Leak in Windows - Step 9
  5. In 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.
  6. After disconnecting from your VPN you can renew your previous DNS settings. Type:
    netsh interface IPv4 set dnsserver "ADSL" dhcp
    and press enter.
  7. In the last part, type:
    ipconfig /flushdns
    and press enter.
  1. Go to the "Settings" and then "More connection settings": How to fix DNS leak on Android - Step 1
  2. Go to the "VPN": How to fix DNS leak on Android - Step 2
  3. Tap and hold your VPN connection's setting icon, then select "Edit profile": How to fix DNS leak on Android - Step 3
  4. Check "Show advanced options" and more available options will be appear: How to fix DNS leak on Android - Step 4
    Set one of the follwoing DNS servers in the "DNS servers (e.g. 8.8.8.8)":
    • Google DNS: "8.8.8.8 8.8.4.4"
    • OpenDNS: "208.67.220.220 208.67.222.222"
    You can also use combination of Google and OpenDNS if you like: "8.8.8.8 208.67.220.220"
    IMPORTANT: between 2 DNSs space are 100% required.
  1. Go to the "Settings" and navigate to the "WiFi": How to fix DNS leak on iOS - Step 1
  2. Select your WiFi and tap the blue "i": How to fix DNS leak on iOS - Step 2
  3. Change the DNS settings to Googles or OpenDNS servers by tapping the line "DNS": How to fix DNS leak on iOS - Step 3
    • Google: "8.8.8.8, 8.8.4.4"
    • OpenDNS: "208.67.220.220, 208.67.222.222"
    You can also use combination of Google and OpenDNS if you like: "8.8.8.8, 208.67.220.220"
    IMPORTANT: between 2 DNSs comma and space are 100% required.
  1. Go to the "System Preference...": How to fix DNS leak on macOS - Step 1
  2. Go to the "Network": How to fix DNS leak on macOS - Step 2
  3. Select your Internet connected, WiFi or Ethernet (LAN) then click on "Advanced...": How to fix DNS leak on macOS - Step 3
  4. Go to the "DNS" tab, click the "+" button: How to fix DNS leak on macOS - Step 4
    In 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", at the end, click "OK".
  1. Go to the "Network Connections": How to fix DNS leak on Linux - Step 1
  2. In new window select your Internet connected, WiFi or Ethernet (LAN) then, click on "Edit" button: How to fix DNS leak on Linux - Step 2
  3. Go to the "IPv4 Settings" tab, and change the Method to "Automatic (DHCP) addresses only": How to fix DNS leak on Linux - Step 3
    In DNS area, add Google DNS "8.8.8.8, 8.8.4.4" or OpenDNS "208.67.222.222, 208.67.220.220", at the end, click "Save".
    IMPORTANT
    : between 2 DNSs comma and space are 100% required.

    Close the current opened window to confirm the changes you've made and click the "Close".
    Some times you need to enable/disable "Networking"option to apply your changes.