On Thu, Sep 22, 2016 at 10:31:20PM -0700, john smith wrote:
> Hello -
> How do I config dnscrypt-proxy to use more than 1 resolver?  I understand
> how to do theunbound part but what do I put in /etc/rc.conf.local?
> Currently I have:
> dnscrypt_proxy_flags="-d -E -m 1 -R dnscrypt.eu-dk -a 127.0.0.1:40"

As stated on https://dnscrypt.org/, I think you have to start multiple
instances of dnscrypt-proxy in daemon mode in /etc/rc.local:

dnscrypt-proxy -l /dev/null -R <host0> -a 127.0.0.1:40 -u _dnscrypt-proxy -d
dnscrypt-proxy -l /dev/null -R <host1> -a 127.0.0.1:41 -u _dnscrypt-proxy -d
...

(Note: prepend /usr/local/sbin/ to dnscrypt-proxy. I left it out to fit
the lines within 80 characters.)

Then, in /var/unbound/etc/unbound.conf:

forward-zone:
  name: "."
  forward-addr: 127.0.0.1@40
  forward-addr: 127.0.0.1@41
  ...

Cheers,

Erling

-- 
Erling Westenvik

Reply via email to