til/Applications/System/dnscrypt-proxy.md

29 lines
612 B
Markdown

# [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy)
| Distribution | Package |
| ------------ | ---------------- |
| Arch Linux | `dnscrypt-proxy` |
| Ubuntu | `dnscrypt-proxy` |
| Fedora | `dnscrypt-proxy` |
Edit `/etc/dnscrypt-proxy/dnscrypt-proxy.toml`:
```toml
listen_addresses = ['127.0.0.1:53', '[::1]:53']
server_names = ['google', 'google-ipv6', 'cloudflare', 'cloudflare-ipv6']
```
Enable and start service:
```sh
systemctl enable --now dnscrypt-proxy.service
```
In NetworkManager GUI, turn off automatic DNS and edit:
```txt
IPv4 127.0.0.1
IPv6 ::1
```