Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Closed Thread
  Search this Thread
Old 08-30-2015, 03:34 AM   #1
Registered: Dec 2006
Posts: 599

Rep: Reputation: 31
UnBound <-> Dnscrypt-Proxy Problem

Hello to all,

I tried to set up dns encryption with unbound forward to dnscrypt-proxy but the dns lookup fails and I had no idea how to diagnose/troubleshoot it. Therefore, I'm hope someone will provide some guidance on where to look for.

Below is my unbound configuration:
do-ip6: no
prefetch: yes
prefetch-key: yes
#verbosity: 4
log-time-ascii: yes
statistics-interval: 3600

access-control: deny
access-control: allow
access-control: allow
access-control: ::0/0 refuse
#access-control: ::1 allow

do-not-query-localhost: no

num-threads: 2
msg-cache-size: 8mb
rrset-cache-size: 16mb

msg-cache-slabs: 8mb
rrset-cache-slabs: 8mb
infra-cache-slabs: 8mb
key-cache-slabs: 8mb

hide-identity: yes
# Uncomment to enable DNSSEC validation.
#auto-trust-anchor-file: "/var/unbound/db/root.key"

# Serve zones authoritatively from Unbound to resolver clients.
# Not for external service.
#local-zone: "local." static
#local-data: "mycomputer.local. IN A"
#local-zone: "" static
#local-data-ptr: " mycomputer.local"

# UDP EDNS reassembly buffer advertised to peers. Default 4096.
# May need lowering on broken networks with fragmentation/MTU issues,
# particularly if validating DNSSEC.
#edns-buffer-size: 1480

# Use TCP for "forward-zone" requests. Useful if you are making
# DNS requests over an SSH port forwarding.
#tcp-upstream: yes

# Use an upstream forwarder (recursive resolver) for specific zones.
# Example addresses given below are public resolvers valid as of 2014/03.

name: "." # use for ALL queries
# forward-addr: #
# forward-addr: 2001:470:20::2 # v6
# forward-addr: #
# forward-addr: 2001:4860:4860::8888 # v6

# forward-addr:
forward-addr: #
# forward-first: yes # try direct if forwarder fails

Starting Dnscrypt-Proxy
echo -n "Starting dnscrypt-proxy\n"
/usr/local/sbin/dnscrypt-proxy -d -a -R "cloudns-syd" -m 7 -n 350 -u "_dnscrypt-proxy"
Both processes are running fine without any errors.
Please help. Thanks.
Old 09-02-2015, 04:36 AM   #2
Registered: Dec 2006
Posts: 599

Original Poster
Rep: Reputation: 31
Any tools or command i can used to troubleshoot or diagnose.

Please help. Thanks.
Old 09-02-2015, 01:06 PM   #3
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,596

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unbound redirect all qwertyjjj Linux - Server 0 09-12-2014 04:45 AM
redirect in unbound !! hack-back !! Linux - Server 1 02-26-2013 12:07 AM
LXer: DNSCrypt, crypt your DNS request on Linux LXer Syndicated Linux News 0 07-10-2012 04:21 AM
DNSCrypt craigevil Debian 7 03-15-2012 09:27 AM
unbound PF_PACKET Peterius Programming 0 11-10-2004 01:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration