Secure your DNS connection with DNSCrypt

The Dynamic Name System (DNS) is used to translate the easy-to-understand and remember web addresses that we are familiar with, to their ‘true’ numerical IP addresses: for example translating the domain name to its IP address of

By default this translation is performed by your ISP’s DNS servers, which means that your ISP can easily keep track of the websites you visit. Even when using a VPN, DNS leakage can mean that your ISP sometimes handles these DNS requests rather than your VPN provider, which can compromise your privacy.

We therefore recommend changing your default DNS servers to those run by a neutral third party such as OpenDNS or Commodo. Instructions for doing this in Windows can be found in our article on DNS leakage.

Unfortunately however, DNS was not built with security in mind, and it is vulnerable to a number of attacks, the most important of which is a ‘man-in-the-middle’ attack known as DNS spoofing (or DNS cache poisoning), where the attacker intercepts and redirects a DNS request. This could, for example, be used to redirect a legitimate request for a banking service to a ‘spoof’ website designed to collect account details and passwords for unsuspecting victims.

This has prompted the fine chaps at OpenDNS to develop DNSCrypt, a lightweight program that encrypts ‘all DNS traffic between the user and OpenDNS, preventing any spying, spoofing or man-in-the-middle attacks’.

Using Curve25519 elliptical-curve cryptography, DNSCrypt is available for Windows and OSX, and although in ‘preview release’ stage, is considered stable.

Simply download, install and run! Make sure the program is not blocked by your firewall, and it will sit in your taskbar letting you know that all is well

DNSCrypt 2

If you prefer stability over security, make sure that you check ‘Fall back to insecure DNS’ in the Control Center

DNSCrypt does not replace DNSSEC (a system of server-side security extensions for DNS which do not provide any form of encryption), but is complementary to it.

Douglas Crawford I am a freelance writer, technology enthusiast, and lover of life who enjoys spinning words and sharing knowledge for a living. You can now follow me on Twitter - @douglasjcrawf.

Related Coverage

Leave a Reply

Your email address will not be published. Required fields are marked *