til/Applications/System/dnscrypt-proxy.md

28 lines
530 B
Markdown
Raw Normal View History

2020-05-10 17:28:17 +00:00
# dnscrypt-proxy
2020-02-02 04:52:14 +00:00
2020-05-10 17:28:17 +00:00
| Distribution | Package |
| ------------ | ---------------- |
2020-05-24 10:44:40 +00:00
| Arch Linux | `dnscrypt-proxy` |
2020-05-10 17:28:17 +00:00
| Ubuntu | `dnscrypt-proxy` |
2020-02-02 04:52:14 +00:00
Edit `/etc/dnscrypt-proxy/dnscrypt-proxy.toml`:
```toml
2020-05-02 17:49:01 +00:00
listen_addresses = ['127.0.0.1:53', '[::1]:53']
2020-02-02 04:52:14 +00:00
2020-05-02 17:49:01 +00:00
server_names = ['google', 'google-ipv6', 'cloudflare', 'cloudflare-ipv6']
2020-02-02 04:52:14 +00:00
```
2020-05-02 17:49:01 +00:00
Enable and start service:
2020-02-02 04:52:14 +00:00
2020-05-02 17:49:01 +00:00
```sh
systemctl enable --now dnscrypt-proxy.service
2020-02-02 04:52:14 +00:00
```
2020-05-25 10:31:13 +00:00
In NetworkManager GUI, turn off automatic DNS and edit:
2020-02-02 04:52:14 +00:00
```txt
2020-05-02 17:49:01 +00:00
IPv4 127.0.0.1
IPv6 ::1
2020-02-02 04:52:14 +00:00
```