11
2- # ###################################
3- # #
4- # dnscrypt-proxy configuration #
5- # #
6- # ###################################
2+ # #############################################
3+ # #
4+ # dnscrypt-proxy configuration #
5+ # #
6+ # #############################################
77
88
9- # ############# Global settings ##############
9+
10+ # #################################
11+ # Global settings #
12+ # #################################
1013
1114# # List of servers to use
1215# # If this line is commented, all registered servers will be used
@@ -40,23 +43,33 @@ timeout = 2500
4043cert_refresh_delay = 30
4144
4245
43- # ############# Filters ##############
46+
47+ # ########################
48+ # Filters #
49+ # ########################
4450
4551# # Immediately respond to IPv6-related queries with an empty response
4652# # This makes things faster when there is no IPv6 connectivity
4753
4854block_ipv6 = false
4955
5056
51- # ############# Route queries for specific domains to a dedicated set of servers ##############
57+
58+ # #################################################################################
59+ # Route queries for specific domains to a dedicated set of servers #
60+ # #################################################################################
61+
5262# Example map entries (one entry per line):
5363# example.com: 9.9.9.9
5464# example.net: 9.9.9.9,8.8.8.8
5565
5666forwarding_rules = " forwarding-rules.txt"
5767
5868
59- # ############# DNS Cache ##############
69+
70+ # ##########################
71+ # DNS cache #
72+ # ##########################
6073
6174# # Enable a basic DNS cache to reduce outgoing traffic
6275
@@ -83,31 +96,47 @@ cache_max_ttl = 86400
8396cache_neg_ttl = 60
8497
8598
86- # ############# Query logging ##############
87- # Log client queries to a file
99+ # ##############################
100+ # Query logging #
101+ # ##############################
102+
103+ # # Log client queries to a file
88104
89105[query_log ]
90- # ## Full path to the query log file
106+
107+ # # Full path to the query log file
108+
91109# file = "query.log"
92110
93- # ## Query log format (currently supported: tsv and ltsv)
111+
112+ # # Query log format (currently supported: tsv and ltsv)
113+
94114format = " tsv"
95115
96116
97- # ############# Pattern-based blocking (blacklists) ##############
98- # Blacklists are made of one pattern per line. Example of valid patterns:
99- # example.com
100- # *sex*
101- # ads.*
102- # ads*.example.*
103- # ads*.example[0-9]*.com
117+
118+ # #####################################################
119+ # Pattern-based blocking (blacklists) #
120+ # #####################################################
121+
122+ # # Blacklists are made of one pattern per line. Example of valid patterns:
123+ # # example.com
124+ # # *sex*
125+ # # ads.*
126+ # # ads*.example.*
127+ # # ads*.example[0-9]*.com
104128
105129[block_name ]
130+
106131# # Full path to the file of blocking rules
107- file = " blacklist.txt"
132+
133+ # file = "blacklist.txt"
134+
108135
109136
110- # ############# Servers ##############
137+ # ########################
138+ # Servers #
139+ # ########################
111140
112141# # Remote lists of available servers
113142# # Recommended: change the cache_file location to an absolute path
0 commit comments