Opened 13 days ago

#5924 new

[Feature request] Option for second dnscrypt resolver for redundancy

Reported by: James White Owned by:
Keywords: Cc:

Description

https://www.dd-wrt.com/phpBB2/viewtopic.php?p=1090204#1090204

I think its a nice idea, to offer a second resolver option and spawn an additional dnscrypt-proxy processes in the event the primary DNSCrypt server does down/has an outage. It can be achieved manually quite easily, but for users less comfortable with command line etc. Here's how I currently do it.

Spawn multiple dnscrypt-proxy processes on incrementing loopback addresses.

dnscrypt-proxy -S -a 127.0.0.1:30 -R d0wn-is-ns1 -L /etc/dnscrypt/dnscrypt-resolvers.csv -d
dnscrypt-proxy -S -a 127.0.0.2:30 -R d0wn-fr-ns2 -L /etc/dnscrypt/dnscrypt-resolvers.csv -d
dnscrypt-proxy -S -a 127.0.0.3:30 -R ipredator -L /etc/dnscrypt/dnscrypt-resolvers.csv -d
dnscrypt-proxy -S -a 127.0.0.4:30 -R d0wn-se-ns1 -L /etc/dnscrypt/dnscrypt-resolvers.csv -d
dnscrypt-proxy -S -a 127.0.0.5:30 -R dnscrypt.org-fr -L /etc/dnscrypt/dnscrypt-resolvers.csv -d

Then manually add the server configs to point to each resolver. The "all-servers" option queries each resolver and determines the fastest to respond to the DNS test. It can be a bit wasteful though, as it does it each time.

all-servers
server=127.0.0.1#30
server=127.0.0.2#30
server=127.0.0.3#30
server=127.0.0.4#30
server=127.0.0.5#30

Change History (0)

Note: See TracTickets for help on using tickets.