Created
December 19, 2015 20:59
-
-
Save Jesse-V/675b7ec87eca864887e6 to your computer and use it in GitHub Desktop.
DNSCrypt encrypted DNS + Unbound cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/sbin/dnscrypt-proxy --resolver-address=<address> --provider-key=<publicKey> --provider-name=<name> --ephemeral-keys --local-address=127.0.53.1 --daemonize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/resolv/resolv.conf | |
nameserver 127.0.53.53 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf | |
# auto-trust-anchor-file: "/var/lib/unbound/root.key" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/unbound/unbound.conf | |
include: "/etc/unbound/unbound.conf.d/*.conf" | |
server: | |
val-permissive-mode: yes | |
interface: 127.0.53.53 | |
hide-identity: yes | |
hide-version: yes | |
cache-min-ttl: 900 | |
prefetch: yes | |
num-threads: 2 | |
do-not-query-localhost: no | |
forward-zone: | |
name: "." | |
forward-addr: 127.0.53.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment