Skip to main content

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.



Comments

Popular posts from this blog

Evolution Mail on GNOME 3.26

There's a slight change in the user interface. A To Do column now appears to the rightmost after the GNOME 3.26 update. Also there's a noticeable stability increase, what with goa-daemon stopping its RAM usage creep. I don't have to kill it every couple of hours.

Appindicator In Natty Ubuntu 11.04

Previously ranted about the blind alley Ubuntu 11.04 seemed to be leading us when it comes to some applications not being ready yet for the dropping of system tray.  What I should have done is press on. There are posts about editing a white list with a recommended GUI tool to help us out here , here and here . Like everything in Linux, there's a configuration file for it, if you can find it and if you have the inclination to go ninja. If not then there's dconf-editor. Download dconf-tools from Software Center. Navigate to desktop>unity>panel. Add your application in the white list. Then close the window. No save button. mmm. So far I have added Shutter, Dropbox and Keepassx in the white list.                Before...  After.

Jose Rizal, December 30, 1896 Execution by firing squad

From a photograph by Manuel Arias Rodriguez. He was executed for the crime of rebellion.