From 2aeab8bf557d536c47349e527002b896c5a0b250 Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Mon, 11 Jan 2021 20:04:32 +0700 Subject: [PATCH] Create dnscrypt-proxy.toml --- client-conf/dnscrypt-proxy.toml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 client-conf/dnscrypt-proxy.toml diff --git a/client-conf/dnscrypt-proxy.toml b/client-conf/dnscrypt-proxy.toml new file mode 100644 index 0000000..688907e --- /dev/null +++ b/client-conf/dnscrypt-proxy.toml @@ -0,0 +1,27 @@ +# This Client Configuration are made for dnscrypt-proxy and Thanks ookangzheng for sample configuration files +# Based on https://github.com/ookangzheng/blahdns/blob/master/client-conf/dnscrypt/dnscrypt-proxy.toml +server_names = ['ProviderName', 'ProviderNamev6-Ifexisted'] +listen_addresses = ['127.0.0.1:53', '[::1]:53'] +max_clients = 250 +force_tcp = false +timeout = 2000 +keepalive = 30 + +# Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random' +lb_strategy = 'fastest' +fallback_resolver = '94.140.14.14:53' +ignore_system_dns = false +netprobe_timeout = 30 +cache = false +cache_size = 512 +cache_min_ttl = 90 +cache_max_ttl = 1800 +cache_neg_min_ttl = 2 +cache_neg_max_ttl = 6 + +[static] +## Publickey: YOURPUBKEY +[static.'ProviderName'] +stamp = 'sdns://YOUR-DNS-STAMPS' +[static.'ProviderNamev6-Ifexisted'] +stamp = 'sdns://YOUR-DNS-STAMPS'