Showing posts with label secure dns. Show all posts
Showing posts with label secure dns. Show all posts

Wednesday, 10 June 2015

Encrypting DNS Traffic with DNSCrypt



The Domain Name System (DNS) is a pervasive component of our computing and Internet. We do not realize its existence even though we use it all the time. It acts like the phone book of the Internet where it translates computer hostnames that are readable by human to IP addresses. The DNS server stores DNS records of domain names. Hence, it is of importance to the user by locating services on the network.. It is a technology that like all other systems and also network protocols is vulnerable to attacks. You need to secure DNS because of its huge role and importance. 



The DNS is prone to attacks such as Cache poisoning where DNS attacks exploit vulnerabilities in the DNS security to add wrong addressing information to the caches. Because of it when you access the cache to go to a site you will instead find yourself on a different server controlled by attackers. Though, DDOS are not specific to the DNS, it is still vulnerable to the Distributed Denial of Service attack that results from the infrastructure of the DNS not being able to handle the amount of requests received. Another threat is of the Register Hijacking where attackers compromise the chosen registrar on your account and in the process gaining control of the domain name. This and other modes of threats mean that you have to prevent your servers against DNS attacks. The OpenDNS have come up with a software that serves to secure the protocol from future threats.

The security program provides an added security level solution on Windows and Mac where it is used as a form of DNS security. It encrypts the DNS by creating a connection that is encrypted to the DNS servers then it creates a DNS proxy in your computer. Therefore, when you try to access a site, the browser sends a DNS query to a local host address. Now, the request gets forwarded to a DNS server through the connection which is encrypted. The DNS information gives a complete account on the internet activity, the domains, and all the servers that you made the connection to hence are very valuable. By encrypting hence, making sure of a secure DNS, the spies who are in the middle of eavesdropping on your connection get blocked from accessing your information.

How to Get DNSCrypt?


The package is available free and can get downloaded from the official website. From the main site choose DNSCrypt Proxy ZIP package for Windows and download it. Configuring it on your computer is easy.

How to Install?


The software works where there are OpenDNS setting therefore before installing set the internet connection so that OpenDNS gets used as the provider. 

1. Once the internet settings get configured, from the downloaded package, extract the folder contained in it and put it in a drive on your computer and then rename it to “DNSCrypt.” 

2. Open the command prompt as an administrator 

3. When you have opened the command prompt, go to the folder named “bin” inside the folder that you extracted, that is the DNSCrypt folder. You can do it by providing the path to the drive and folder in which it gets stored. For example: c:\name\dnscrypt\bin.

4. Enter the command “DNSCrypt-proxy.exe which will install the program.

5. After executing, you should get a message to confirm the success along with information on the registry key used and settings on the DNS resolver that you have to change.

6. Press “Win + X” then choose “Network Connections” that will open the Network connection pane. For those using Windows 7 and Vista, go to “Network and Sharing Centre.”

7. Right-click on the network adapter then choose “properties,” this opens the properties window where you scroll down to “internet protocol version 4 (TCP/IPv4)” and select the Properties button.

8. Click on the button “use the following DNS server addresses” where you enter 127.0.0.1 localhost address as the preferred DNS. 

9. Once it is done click on the button “OK.”

Conclusion


Encryption of the DNS server is sensible and advisable more so if you are getting access to the internet through public connections. The virtual private network can be used as an additional measure when you use a public network and where you do not have full control of the network. The software does not reduce the speed of your browser and neither does it use many resources from your machine while it does its duty to give you a secure DNS.

Monday, 18 May 2015

How to Boost Your Internet Security With DNSCrypt



Man in the middle attacks are getting more and more common. We all have this sense of security that our web browsing traffic is encrypted because we use VPN, HTTPS, and SSL. But all a hacker needs to do is position himself between your ISP and your computer, referred to as the last mile to retrieve your information. They boom your DNS to leak all the encrypted information to “the man in the middle.” For ordinary internet users, who are just browsing, that may not be an issue because he will not be able to realize things. But the hacker will get to know what websites you are visiting and how long you are online when you are sharing sensitive information like account passwords for banks. So to solve it, you need to boost your security by using tools like DNSCrypt. 

This article will let you know how to boost your internet security with the tool.

How Does it Help?


First of all let us understand what exactly DNSCrypt does to boost your security. In a nutshell, it will encrypt the information between the DNS server and your computer so that the software being used by the “man in the middle” may not read the information being collected. So when you try to open a particular website, your browser will send an ordinary query to the local host address and the request will be sent using the encrypted connection to the DNS server. So it will work as a double checker to ensure the information shared between your PC and the DNS server is encrypted even if you are already using VPN or SSL and HTTPs 
encryption. 



Now about securing your internet security with the tool, you are going to have to download it from the download installation package page. When you visit the page, you will be able to click on the ‘Download’ link either for Windows or Mac.

Once the download is complete, you can set about creating a folder on your desktop and give it a name. Expert suggest it to name as ”DNSCrypt” then you will extract all the files from the download and then drag them into your new folder. Alternatively, you could right click and then choose the folder as the destination for the extracted files.

How to Install?


Now to install, you will have to access the elevated CMD prompt window. Make sure you can access administrator as you will have to click right and then select run as administrator. The window will then open and you will then need to enter the path corresponding to the bin folder. The command "C:\Users\owner\Desktop\DNSCrypt\bin" will direct you to the folder with the CSV and EXE files.

You can now install the proxy service from DNS, and change the OPENDNS part and add a label from the CSV file and update if you wish using public DNS resolvers that support the tool. Also, check to see that the path corresponds to the location of the CSV file on your PC.

The CDM window will then display file information that should show that the proxy download service test has been run successfully. If it has not been tested successfully then you may need to change the DNS resolver to find one that works. Once done, you can install the proxy server.

Once the proxy server gets installed, you will receive a prompt message saying the DNS security got successfully installed, and it will provide you with the key before prompting you to change the DNS settings. To do that you will go to network settings, click on network and sharing center and then click on change adapter settings. Choose the network you want to change, right-click and then choose ‘Properties.’ Click on the Transmission Control Properties (TCP) settings and choose ‘Properties.’ Now change the preferred DNS to 127.0.0.1 and hit OK, then choose TCP/IVP6 settings and change that to ::1, and then click ok and you have now a secure DNS. 

Conclusion


Now you should note that if you have a firewall, it may interfere with your DNSCrypt. So the best way how to boost your internet security with DNSCrypt would be to use TCP over port 443 which will make the firewall recognize it as HTTPs traffic and will not interfere with it.

Tuesday, 10 March 2015

Want to Configure DNSCrypt on Windows? Learn How to Do It



Since the virtual world is full of numerous threats and malicious infections, ensuring DNS security becomes highly important for every computer user. An encrypted DNS server ensures complete safety of inward/outward data during its transits and promises that nothing crucial goes into the wrong hands. DNS resolution by OpenDNS got launched way back in 2012, and it mainly focuses on protecting DNS lookups initiated by your system. Additionally, this encryption feature helps you to monitor and block Internet traffic that contains malicious information or spam links. 

As malware authors, cybercriminals and other online hackers are getting smarter day by day, the company has come up with DNSCrypt to ensure complete DNS security. DNS information can clearly present a complete account of your Internet activities, including the domains and servers you connect to, so it is important for users to secure DNS servers. The new service isn’t the only domain name encryption service available in the market, but yet it is preferred because you can avail it for free.

How to Configure DNS Tool in Windows?


1.       Head towards the OpenDNS’s official website and download the ‘DNSCrypt Proxy ZIP’ package for Windows

DNS security












2.       Once the file gets downloaded, extract the folder into your ‘C’ drive or any other location to continue. Once you finish extracting the file contents, rename the folder to ‘dnscrypt’ because it will help in easier navigation.

DNS security
3.       Now, open command prompt with elevated privileges by pressing ‘Win + X’ and select the ‘Command Prompt (Admin)’ option. Or simply search for ‘Command Prompt’ in the Start Menu, and then right-click on it and select ‘Run as Administrator’ option.
DNS security

4.       Navigate to the ‘bin’ folder, located inside the extracted ‘dnscrypt’ folder, from your ‘Command Prompt’ by typing ‘c:\dnscrypt\bin’
DNS security

5.       Type in ‘dnscrypt-proxy.exe --resolver-name=opendns --resolvers-list="c:\dnscrypt\bin\dnscrypt-resolvers.csv" --test=0’ command and hit Enter to test the server key fingerprint of the DNS
DNS security

6.       Once you execute the above command, you should receive a reply regarding the server key fingerprint
DNS security

7.       To install the latest DNS service on your Windows machine, type this command and hit Enter:
DNS security

‘dnscrypt-proxy.exe --resolver-name=opendns --resolvers-list="c:\dnscrypt\bin\dnscrypt-resolvers.csv" –install’
 DNS security
8.       Now, you will get a confirmation message along with information about the used registry key, and some must change DNS resolver settings

DNS security

9.       Press ‘Win + X’ to change the DNS settings, and select ‘Network Connections’ option to view the ‘Network Connections’ window. Or you can simply access the same via the ‘Networking and Sharing Center.’
DNS security

10.   Right-click on your network adapter and select the ‘Properties’ option
DNS security

11.   Scroll down in the ‘Properties’ window, select ‘Internet Protocol Version 4 (TCP/IPv4)’ and then click on the ‘Properties’ button again
DNS security

12.   Select the ‘Use the following DNS server addresses’ radio button to provide the localhost address and change it to ‘127.0.0.1’ as per your preferred DNS. Once you are done, click ‘Ok’ button to save the changes.
DNS security

13.   Once completed, relax a bit as your Windows computer is now encrypting all your DNS queries.

Conclusion


Encrypting your DNS traffic holds high importance, especially if you access Internet using open or public Wi-Fi connections regularly. While every user can use OpenDNS solutions to avail impressive DNS security, you may not want to use the secure DNS service as your DNS provider. You can also pick other alternatives that offer the same level of encryption for your inward, as well as outward Internet traffic. DNSCrypt Windows Service Manager is an efficient tool that encrypts your Internet traffic, and all you need to do is to install and configure DNS utility on your Windows PC.