Dnscrypt doesn't work for me

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Dnscrypt doesn't work for me

Postby rayeshman » Thu Jun 19, 2014 2:51 pm

I don't know why dnscrypt doesn't work for me.
I have installed DNSmasq and DNScrypt from arch repositories (and not AUR)
$this->bbcode_second_pass_code('', '
~ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 127.0.0.1:53

~ cat /etc/dnsmasq.conf
domain-needed
bogus-priv
resolv-file=/etc/resolv-dnsmasq.conf
listen-address=127.0.0.1
bind-interfaces
dhcp-range=192.168.1.10,192.168.1.20,255.255.255.0,4d
cache-size=300

~ cat /etc/resolv-dnsmasq.conf
nameserver 127.0.0.2:53

~ cat cat /etc/conf.d/dnscrypt-proxy
DNSCRYPT_LOCALIP=127.0.0.2
DNSCRYPT_LOCALPORT=53
DNSCRYPT_USER=nobody
DNSCRYPT_PROVIDER_NAME=2.dnscrypt-cert.resolver2.dnscrypt.eu
DNSCRYPT_PROVIDER_KEY=3748:5585:E3B9:D088:FD25:AD36:B037:01F5:520C:D648:9E9A:DD52:1457:4955:9F0A:9955
DNSCRYPT_RESOLVERIP=77.66.84.233
DNSCRYPT_RESOLVERPORT=443

~ sudo systemctl status dnscrypt-proxy
[sudo] password for ****:
● dnscrypt-proxy.service - A tool for securing communications between a client and a DNS resolver.
Loaded: loaded (/usr/lib/systemd/system/dnscrypt-proxy.service; enabled)
Active: active (running) since Thu 2014-06-19 13:30:59 IRDT; 1h 6min ago
Main PID: 581 (dnscrypt-proxy)
CGroup: /system.slice/dnscrypt-proxy.service
└─581 /usr/bin/dnscrypt-proxy --local-address=127.0.0.2:53 --resolver-address=77.66.84.233:443 --provider-name=2.dnscrypt-cert.resolver2.dnscryp...

Jun 19 13:31:00 raspberrypi dnscrypt-proxy[581]: [INFO] Server certificate #808464433 received
Jun 19 13:31:00 raspberrypi dnscrypt-proxy[581]: [INFO] This certificate looks valid
Jun 19 13:31:00 raspberrypi dnscrypt-proxy[581]: [INFO] Chosen certificate #808464433 is valid from [2014-01-12] to [2015-01-12]
Jun 19 13:31:00 raspberrypi dnscrypt-proxy[581]: [INFO] Server key fingerprint is C863:1F2D:C621:3FE8:CD02:C65A:6DB6:DDD6:08BA:49EA:5962:AF4C:B063:...A4C:9925
Jun 19 13:31:00 raspberrypi dnscrypt-proxy[581]: [NOTICE] Proxying from 127.0.0.2:53 to 77.66.84.233:443
Jun 19 14:31:49 raspberrypi dnscrypt-proxy[581]: [INFO] Refetching server certificates
Jun 19 14:31:49 raspberrypi dnscrypt-proxy[581]: [INFO] Server certificate #808464433 received
Jun 19 14:31:49 raspberrypi dnscrypt-proxy[581]: [INFO] This certificate looks valid
Jun 19 14:31:49 raspberrypi dnscrypt-proxy[581]: [INFO] Chosen certificate #808464433 is valid from [2014-01-12] to [2015-01-12]
Jun 19 14:31:49 raspberrypi dnscrypt-proxy[581]: [INFO] Server key fingerprint is C863:1F2D:C621:3FE8:CD02:C65A:6DB6:DDD6:08BA:49EA:5962:AF4C:B063:...A4C:9925
Hint: Some lines were ellipsized, use -l to show in full.

~ ping www.google.com
ping: unknown host www.google.com

~
')

There is no problem with DNSmasq,It works correctly I have tested it by Comodo DNS
Thank you.
rayeshman
 
Posts: 2
Joined: Thu Jun 19, 2014 2:47 pm

Re: Dnscrypt doesn't work for me

Postby WarheadsSE » Thu Jun 19, 2014 3:32 pm

time correct?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Dnscrypt doesn't work for me

Postby rayeshman » Thu Jun 19, 2014 3:54 pm

Yes,
$this->bbcode_second_pass_code('', '➜ ~ date
Wed May 28 11:22:52 IRDT 2014
➜ ~ sudo systemctl status ntpd
● ntpd.service - Network Time Service
Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
Active: active (running) since Wed 2014-05-28 11:19:00 IRDT; 4min 1s ago
Process: 290 ExecStart=/usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid (code=exited, status=0/SUCCESS)
Main PID: 302 (ntpd)
CGroup: /system.slice/ntpd.service
└─302 /usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid

May 28 11:18:59 raspberrypi ntpd[290]: ntpd 4.2.7p441@1.2483-o Thu May 8 18:24:13 UTC 2014 (1): Starting
May 28 11:18:59 raspberrypi ntpd[290]: Command line: /usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid
May 28 11:19:00 raspberrypi systemd[1]: PID file /run/ntpd.pid not readable (yet?) after start.
May 28 11:19:00 raspberrypi ntpd[302]: proto: precision = 3.000 usec (-18)
May 28 11:19:00 raspberrypi ntpd[302]: Listen and drop on 0 v4wildcard 0.0.0.0:123
May 28 11:19:00 raspberrypi ntpd[302]: Listen normally on 1 lo 127.0.0.1:123
May 28 11:19:00 raspberrypi ntpd[302]: Listen normally on 2 eth0 192.168.1.2:123
May 28 11:19:00 raspberrypi ntpd[302]: Listening on routing socket on fd #19 for interface updates
May 28 11:19:00 raspberrypi systemd[1]: Started Network Time Service.
')
rayeshman
 
Posts: 2
Joined: Thu Jun 19, 2014 2:47 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests