| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | config global |
| 2 | # start dnscrypt-proxy from procd interface trigger rather than immediately in init |
| 3 | # if needed you can restrict trigger to certain interface(s) |
| 4 | # list procd_trigger 'wan' |
| 5 | # list procd_trigger 'wan6' |
| 6 | |
| 7 | config dnscrypt-proxy ns1 |
| 8 | option address '127.0.0.1' |
| 9 | option port '5353' |
| 10 | option resolver 'quad9-dnscrypt-ip4-nofilter-pri' |
| 11 | # more details about the following options can be found in: |
| 12 | # https://github.com/dyne/dnscrypt-proxy/blob/master/dnscrypt-proxy.conf |
| 13 | # option resolvers_list '/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv' |
| 14 | # ephemeral keys option requires extra CPU cycles and can cause huge system load |
| 15 | # option ephemeral_keys '0' |
| 16 | # option client_key '/path/to/client_key' |
| 17 | # option log_level '6' |
| 18 | # option syslog '1' |
| 19 | # option syslog_prefix 'dnscrypt-proxy' |
| 20 | # option query_log_file '/path/to/logfile' |
| 21 | # enable cache may speed up dnscrypt-proxy |
| 22 | # option local_cache '0' |
| 23 | # disable IPv6 may also speed up dnscrypt-proxy |
| 24 | # option block_ipv6 '0' |
| 25 | # Blacklists allow you to block domains, ip, ... |
| 26 | # list blacklist 'domains:/path/to/domains-blacklist-file.txt' |
| 27 | # list blacklist 'domains:/path/to/domains-blacklist2-file.txt' |
| 28 | |
| 29 | # config dnscrypt-proxy ns2 |
| 30 | # option address '127.0.0.1' |
| 31 | # option port '5454' |
| 32 | # # option resolver 'adguard-dns' |
| 33 | # # option resolvers_list '/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv' |
| 34 | # # option ephemeral_keys '0' |
| 35 | # # option client_key '' |