How do i prevent DNS Leak ?

How do I prevent DNS leaks?

Use our DNS leak test to find out if your DNS is leaking: https://vpn.ht/dns-leak-test
 
You can prevent DNS leaks by setting static DNS servers on your network connection.
You can use one of the following open DNS services or contact support to get the ip addresses of our own DNS servers.
Google Public DNS
  • Preferred DNS server: 8.8.8.8
  • Alternate DNS server: 8.8.4.4
Open DNS
  • Preferred DNS server: 208.67.222.222
  • Alternate DNS server: 208.67.222.220
Comodo Secure DNS
  • Preferred DNS server: 8.26.56.26
  • Alternate DNS server: 8.20.247.20
 

Windows

DNS settings are specified in the TCP/IP Properties window for the selected network connection.
Example: Changing DNS server settings on Windows 7
  1. Go to the Control Panel.
  2. Click Network and Internet > Network and Sharing Center > Change adapter settings.
  3. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, right-click Local Area Connection >Properties.
    • To change the settings for a wireless connection, right-click Wireless Network Connection >Properties.
    If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
  4. Select the Networking tab. Under This connection uses the following items, selectInternet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) and then click Properties.
  5. Click Advanced and select the DNS tab. If there are any DNS server IP addresses listed there, write them down for future reference, and remove them from this window.
  6. Click OK.
  7. Select Use the following DNS server addresses. If there are any IP addresses listed in the Preferred DNS server or Alternate DNS server, write them down for future reference.
  8. Replace those addresses with the IP addresses above.
  9. Restart the connection you selected in step 3.
  10. Test that your setup is working correctly; see Test your new settings below.
  11. Repeat the procedure for additional network connections you want to change.

Mac OS

DNS settings are specified in the Network window.
Example: Changing DNS server settings on Mac OS 10.5
  1. Click Apple > System Preferences > Network.
  2. If the lock icon in the lower left-hand corner of the window is locked, click the icon to make changes, and when prompted to authenticate, enter your password.
  3. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, select Built-In Ethernet, and clickAdvanced.
    • To change the settings for a wireless connection, select Airport, and click Advanced.
  4. Select the DNS tab.
  5. Click + to replace any listed addresses with, or add, the ip addresses above.
  6. Click Apply > OK.
  7. Test that your setup is working correctly; see Test your new settings below.
  8. Repeat the procedure for additional network connections you want to change.

Linux

In most modern Linux distributions, DNS settings are configured through Network Manager.
Example: Changing DNS server settings on Ubuntu
  1. Click System > Preferences > Network Connections.
  2. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0.
    • To change the settings for a wireless connection, select the Wireless tab, then select the appropriate wireless network.
  3. Click Edit, and in the window that appears, select the IPv4 Settings or IPv6 Settings tab.
  4. If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.
  5. In the DNS servers field, enter the ip addresses above.
  6. Click Apply to save the change. If you are prompted for a password or confirmation, type the password or provide confirmation.
  7. Test that your setup is working correctly; see Test your new settings below.
  8. Repeat the procedure for additional network connections you want to change.
If your distribution doesn't use Network Manager, your DNS settings are specified in /etc/resolv.conf.
  • 38 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

How do I change my VPN credentials?

This guide is also available as video tutorial:click here to proceed to the video tutorial....

Why do I need VPN ?

You need VPN if: - You're concerned about your privacy. If you don't want websites, your ISP, or...

Do you log my VPN activity data?

We are a privacy-focused service and have a strict no logging policy! We do not track or monitor...

I can't connect from my country using VPN

 I can't connect from my country using VPN  You may be in a country or connected to an ISP...

What measures do you take to protect my data using VPN?

What measures do you take to protect my data using VPN? Our entire website is SSL-secured. When...