Saturday, February 18, 2012

Using DNSCRYPT With Arch Linux

DNSCRYPT is software which encrypts data sent from your computer to your dns. Your computer needs dns to give it a map of the internet. Unfortunately, this 'last mile' is often the target of 'man-in-the-middle attack'. By encrypting the traffic to the dns from your computer, security is improved. So how do you enable dnscrypt?

I have arch installed in my computer. Here's how I did it.

First download dnscrypt from AUR and compile it.  Download it here. Unpack the tarball using the terminal.

$cd [download_directory]

$tar -xzf dnscrypt-proxy.tar.xz

then $cd dnscrypt-proxy

and $makepkg --asroot

to compile the package.

Use pacman to install the package.

$pacman -U dnscrypt-proxy-0.8-1-i686.pkg.tar.xz

You now have dnscrypt installed. Change your DNS settings to 127.0.0.1

$nano /etc/resolv.conf

and edit nameserver then save it.

Restart the daemon. $/etc/rc.d/network restart

Then start the dnscrypt-proxy daemon. $/usr/sbin/dnscrypt-proxy --daemonize

Restart the daemon. $/etc/rc.d/network restart

Check your connection here.



Post a Comment

Update Chromium From 61 -->> 62

Browser updates are very important to web security. Don't miss it. If there's a piece of software that you really have to get right,...