diff --git a/dnscrypt-proxy/dnscrypt-proxy.toml b/dnscrypt-proxy/dnscrypt-proxy.toml index 261e14f76d..5bc1ea1645 100644 --- a/dnscrypt-proxy/dnscrypt-proxy.toml +++ b/dnscrypt-proxy/dnscrypt-proxy.toml @@ -1,12 +1,15 @@ -#################################### -# # -# dnscrypt-proxy configuration # -# # -#################################### +############################################## +# # +# dnscrypt-proxy configuration # +# # +############################################## -############## Global settings ############## + +################################## +# Global settings # +################################## ## List of servers to use ## If this line is commented, all registered servers will be used @@ -40,7 +43,10 @@ timeout = 2500 cert_refresh_delay = 30 -############## Filters ############## + +######################### +# Filters # +######################### ## Immediately respond to IPv6-related queries with an empty response ## This makes things faster when there is no IPv6 connectivity @@ -48,7 +54,11 @@ cert_refresh_delay = 30 block_ipv6 = false -############## Route queries for specific domains to a dedicated set of servers ############## + +################################################################################## +# Route queries for specific domains to a dedicated set of servers # +################################################################################## + # Example map entries (one entry per line): # example.com: 9.9.9.9 # example.net: 9.9.9.9,8.8.8.8 @@ -56,7 +66,10 @@ block_ipv6 = false forwarding_rules = "forwarding-rules.txt" -############## DNS Cache ############## + +########################### +# DNS cache # +########################### ## Enable a basic DNS cache to reduce outgoing traffic @@ -83,31 +96,47 @@ cache_max_ttl = 86400 cache_neg_ttl = 60 -############## Query logging ############## -# Log client queries to a file +############################### +# Query logging # +############################### + +## Log client queries to a file [query_log] -### Full path to the query log file + +## Full path to the query log file + # file = "query.log" -### Query log format (currently supported: tsv and ltsv) + +## Query log format (currently supported: tsv and ltsv) + format = "tsv" -############## Pattern-based blocking (blacklists) ############## -# Blacklists are made of one pattern per line. Example of valid patterns: -# example.com -# *sex* -# ads.* -# ads*.example.* -# ads*.example[0-9]*.com + +###################################################### +# Pattern-based blocking (blacklists) # +###################################################### + +## Blacklists are made of one pattern per line. Example of valid patterns: +## example.com +## *sex* +## ads.* +## ads*.example.* +## ads*.example[0-9]*.com [block_name] + ## Full path to the file of blocking rules -file = "blacklist.txt" + +# file = "blacklist.txt" + -############## Servers ############## +######################### +# Servers # +######################### ## Remote lists of available servers ## Recommended: change the cache_file location to an absolute path