User:ya/DNSCrypt

From Gentoo Wiki
Jump to:navigation Jump to:search

Resources

DNSCrypt Proxy - A flexible DNS proxy, with support for encrypted DNS protocols.

Installation

Emerge

Install net-dns/dnscrypt-proxy:

root #emerge --ask net-dns/dnscrypt-proxy

Configuration

Service

OpenRC

user $rc-update add dnscrypt-proxy default
user $rc-service dnscrypt-proxy start

systemd

user $sed -i 's
user $\['\127\.0\.0\.1:53'\, '\\[::1\]:53'\\]
user $\[\]
user $g' /etc/dnscrypt-proxy/dnscrypt-proxy.toml
user $systemctl enable dnscrypt-proxy.service --now
FILE /etc/resolv.conf
nameserver 127.0.0.1