How to install DNSCrypt

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Re: How to install DNSCrypt

Postby tommyb. on Fri Feb 08, 2013 3:29 pm

.
WHERE are the *.deb files?
.
.
Seems like the link leads to an empty github repository (files on github are gone) and on "dnscrypt.org" i find only some for compilation :cry:
.
.
.
I guess i keep using the old ones then ....
*** :lol: As some may have noticed my help files are available from Dropbox. If you like to help me, use my referral http://db.tt/AsmPmOv please and we both get a 500MB cloudspace bonus each :D
tommyb.
Level 2
Level 2
 
Posts: 58
Joined: Wed May 30, 2012 12:04 pm

Linux Mint is funded by ads and donations.
 

Re: How to install DNSCrypt

Postby xenopeek on Fri Feb 08, 2013 5:33 pm

Thanks tommyb., I've updated the first post in this topic to reflect that the tutorial is currently not usable due to the missing .deb files. Compiling from source should work (and is detailed on their website), but it's not high on my priority list to figure this all out right now. Might get around to it later :wink:
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13711
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: How to install DNSCrypt

Postby metalbolic on Tue Mar 12, 2013 1:03 pm

Good afternoon!!!

Guys, I follow the tutorial to the letter, but I received various messages of errors, like that:

The script you are attempting to invoke has been converted to an Upstart
job, but --daemonize is not supported for Upstart jobs.

start: Unknown job: dnscrypt-proxy

How do resolve this?

thanks, in advance!!
metalbolic
Level 1
Level 1
 
Posts: 3
Joined: Tue Mar 12, 2013 12:49 pm
Location: Salvador

Re: How to install DNSCrypt

Postby tommyb. on Tue Mar 26, 2013 2:01 pm

xenopeek wrote:Thanks tommyb., I've updated the first post in this topic to reflect that the tutorial is currently not usable due to the missing .deb files. Compiling from source should work (and is detailed on their website), but it's not high on my priority list to figure this all out right now. Might get around to it later :wink:
Ok, for those interested i have the needed files in my dropbox public folder (dnscrypt 1.10, 0.94, 0.12) https://www.dropbox.com/sh/n14ywb4kqbbhaso/QoDHgovZX6. Just installed them on LinuxMint14 Mate 64bit :)
*** :lol: As some may have noticed my help files are available from Dropbox. If you like to help me, use my referral http://db.tt/AsmPmOv please and we both get a 500MB cloudspace bonus each :D
tommyb.
Level 2
Level 2
 
Posts: 58
Joined: Wed May 30, 2012 12:04 pm

Re: How to install DNSCrypt

Postby jdthood on Tue May 21, 2013 12:08 pm

10. Reconfigure Network Manager to use DNSCrypt
Open Network Connections from the menu. On the Wired or Wireless tab highlight your active Internet connection. Click "Edit". On the IPv4 Settings tab, set Method to "Automatic (DHCP) addresses only" and set DNS servers to "127.0.0.1". Click "Save". Click "Close".


This is not how the "DNS servers" field is supposed to be used. The DNS server addresses listed in that field are supposed to be the addresses of servers accessible over that connection.

What you really want to do is to reconfigure the resolver so that it only uses dnscrypt-proxy and not any other nameservers known to the system, including nameservers known to NetworkManager.

Sooner or later dnscrypt-proxy will be packaged for Debian (http://bugs.debian.org/692320) and shortly there will be support for dnscrypt-proxy in dnsmasq (ugs.debian.org/709179).

Until that work is done, on a system with resolvconf, the best thing to do is to put
Code: Select all
nameserver 127.0.0.2  # dnscrypt-proxy's listen address
in /etc/resolvconf/resolv.conf.d/head.
jdthood
Level 1
Level 1
 
Posts: 1
Joined: Tue May 21, 2013 11:56 am

Re: How to install DNSCrypt

Postby T3(h_Fr34k on Tue May 28, 2013 7:06 pm

Anyone tried this with Mint 15?

EDIT: Yes it works perfect on Mint 15 Cinnamon, Thanks tommyb. for the files!
You can Use EverNote with Clearly & Evernote Web Clipper to save all of your Favorite tutorials all in one place!
User avatar
T3(h_Fr34k
Level 1
Level 1
 
Posts: 12
Joined: Tue May 28, 2013 3:45 pm

Re: How to install DNSCrypt

Postby mnt on Wed Aug 07, 2013 4:02 am

NOTE: Tested on LM 13 (Maya) MATE-edition!

By using the PPA for dnscrypt-proxy (and its libsodium dependency), insttalling becomes as easy as:

Code: Select all
sudo apt-add-repository ppa:shnatsel/dnscrypt
sudo apt-get update
sudo apt-get install dnscrypt-proxy


After reboot:
Code: Select all
 sudo nano /etc/dnsmasq.conf


and add the following to the newly created file:

Code: Select all
server=127.0.0.2#53


Thereafter one needs to disconnect from the active connection, add 127.0.0.2 as the DNS server, and then reconnect.

To test if everything works fine, refer to number 11. of the original post: viewtopic.php?f=42&t=107096#p603578

HTH
mnt
Level 1
Level 1
 
Posts: 3
Joined: Wed Aug 07, 2013 3:49 am

Re: How to install DNSCrypt

Postby ronoverdrive on Wed Aug 28, 2013 1:09 pm

Has anyone gotten this to work on Mint 15? I for the life of me can't get it to work.
ronoverdrive
Level 1
Level 1
 
Posts: 3
Joined: Sun Aug 04, 2013 11:03 am

Re: How to install DNSCrypt

Postby tommyb. on Thu Aug 29, 2013 9:29 pm

ronoverdrive wrote:Has anyone gotten this to work on Mint 15? I for the life of me can't get it to work.
yes i have (using the instructions right above you on LM15 mate 64bit
*** :lol: As some may have noticed my help files are available from Dropbox. If you like to help me, use my referral http://db.tt/AsmPmOv please and we both get a 500MB cloudspace bonus each :D
tommyb.
Level 2
Level 2
 
Posts: 58
Joined: Wed May 30, 2012 12:04 pm

Re: How to install DNSCrypt

Postby ronoverdrive on Mon Sep 02, 2013 3:40 pm

tommyb. wrote:
ronoverdrive wrote:Has anyone gotten this to work on Mint 15? I for the life of me can't get it to work.
yes i have (using the instructions right above you on LM15 mate 64bit


Well it didn't work for me. Checked with Wireshark and only standard DNS traffic is appearing, nothing encrypted.
ronoverdrive
Level 1
Level 1
 
Posts: 3
Joined: Sun Aug 04, 2013 11:03 am

Re: How to install DNSCrypt

Postby tommyb. on Sun Sep 15, 2013 1:33 pm

ronoverdrive wrote:
tommyb. wrote:
ronoverdrive wrote:Has anyone gotten this to work on Mint 15? I for the life of me can't get it to work.
yes i have (using the instructions right above you on LM15 mate 64bit

Well it didn't work for me. Checked with Wireshark and only standard DNS traffic is appearing, nothing encrypted.

.
Ok, but you get that openDNS welcome "checkmark"? In regards to wireshark: I'll check myself later, at this point everything is possible, but I only see 127.0.0.1 on netactviewer on the box which has dnscrypt installed "my" old way.
You have edited your network dns to 127.0.0.2 as required? use port 443 instead of 53 and see what happens.
.
.
I assume in my case all is fine - maybe somebody else can confirm: example (wireshark)
419 52.637116000 80.254.76.194 208.67.220.220 UDP 288 Source port: 45553 Destination port: https
425 52.925201000 208.67.220.220 80.254.76.194 UDP 460 Source port: https Destination port: 45553
.
I catch dns traffic that way on both boxes, indepently whether i used my method or the one above.
*** :lol: As some may have noticed my help files are available from Dropbox. If you like to help me, use my referral http://db.tt/AsmPmOv please and we both get a 500MB cloudspace bonus each :D
tommyb.
Level 2
Level 2
 
Posts: 58
Joined: Wed May 30, 2012 12:04 pm

Re: How to install DNSCrypt

Postby Enkouyami on Sat Dec 21, 2013 10:38 pm

On LinuxMint 16, I get the error
Code: Select all
E: Unable to locate package dnscrypt-proxy
when I try to install it.
Enkouyami
Level 1
Level 1
 
Posts: 16
Joined: Sat May 28, 2011 9:21 pm

Re: How to install DNSCrypt

Postby xenopeek on Sun Dec 22, 2013 4:41 am

Enkouyami that's not a surprise. Please more carefully read the top of my first post in this topic:
xenopeek wrote:Update Dec 11 2013: Previous1 has added the steps to compile DNSCrypt yourself and get it working, see this topic: viewtopic.php?f=42&t=152600. Please follow that tutorial instead, as the below no longer works.

Update Feb 8 2013: As noted by tommyb. in the comments, the DNSCrypt .deb file downloads are no longer available. This makes this tutorial currently not usable.
Forum Rules | IRC Channel Rules
Image
Arch Linux / 64-bit / Gnome Shell
User avatar
xenopeek
Level 21
Level 21
 
Posts: 13711
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Linux Mint is funded by ads and donations.
 
Previous

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 15 guests