Use single quotes in the TOML file, mention that paths are relative
Fixes #5
This commit is contained in:
parent
0fcbbfda1f
commit
35a65bc2fd
|
@ -14,12 +14,12 @@
|
|||
## List of servers to use
|
||||
## If this line is commented, all registered servers will be used
|
||||
|
||||
# server_names = ["dnscrypt.org-fr"]
|
||||
# server_names = ['dnscrypt.org-fr']
|
||||
|
||||
|
||||
## List of local addresses and ports to listen to. Can be IPv4 and/or IPv6.
|
||||
|
||||
listen_addresses = ["127.0.0.1:53", "[::1]:53"]
|
||||
listen_addresses = ['127.0.0.1:53', '[::1]:53']
|
||||
|
||||
|
||||
## Require servers defined by remote sources to satisfy specific properties
|
||||
|
@ -75,7 +75,7 @@ block_ipv6 = false
|
|||
## example.com 9.9.9.9
|
||||
## example.net 9.9.9.9,8.8.8.8
|
||||
|
||||
# forwarding_rules = "forwarding-rules.txt"
|
||||
# forwarding_rules = 'forwarding-rules.txt'
|
||||
|
||||
|
||||
|
||||
|
@ -116,14 +116,14 @@ cache_neg_ttl = 60
|
|||
|
||||
[query_log]
|
||||
|
||||
## Full path to the query log file
|
||||
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
||||
|
||||
# file = "query.log"
|
||||
# file = 'query.log'
|
||||
|
||||
|
||||
## Query log format (currently supported: tsv and ltsv)
|
||||
|
||||
format = "tsv"
|
||||
format = 'tsv'
|
||||
|
||||
|
||||
|
||||
|
@ -141,19 +141,19 @@ format = "tsv"
|
|||
|
||||
[blacklist]
|
||||
|
||||
## Full path to the file of blocking rules
|
||||
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
||||
|
||||
# blacklist_file = "blacklist.txt"
|
||||
# blacklist_file = 'blacklist.txt'
|
||||
|
||||
|
||||
## Optional path to a file logging blocked queries
|
||||
|
||||
# log_file = "blocked.log"
|
||||
# log_file = 'blocked.log'
|
||||
|
||||
|
||||
## Optional log format: tsv or ltsv (default: tsv)
|
||||
|
||||
# log_format = "tsv"
|
||||
# log_format = 'tsv'
|
||||
|
||||
|
||||
|
||||
|
@ -165,18 +165,18 @@ format = "tsv"
|
|||
## Recommended: change the cache_file location to an absolute path
|
||||
|
||||
[sources]
|
||||
[sources."proxy v1 list from github"]
|
||||
url = "https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v1/dnscrypt-resolvers.csv"
|
||||
minisign_key = "RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3"
|
||||
cache_file = "dnscrypt-resolvers.csv"
|
||||
format = "v1"
|
||||
[sources.'proxy v1 list from github']
|
||||
url = 'https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v1/dnscrypt-resolvers.csv'
|
||||
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||
cache_file = 'dnscrypt-resolvers.csv'
|
||||
format = 'v1'
|
||||
refresh_delay = 24
|
||||
|
||||
|
||||
## Local, static list of available servers
|
||||
|
||||
[servers]
|
||||
[servers."dnscrypt.org-fr"]
|
||||
provider_name = "2.dnscrypt-cert.fr.dnscrypt.org"
|
||||
address = "212.47.228.136:443"
|
||||
public_key = "E801:B84E:A606:BFB0:BAC0:CE43:445B:B15E:BA64:B02F:A3C4:AA31:AE10:636A:0790:324D"
|
||||
[servers.'dnscrypt.org-fr']
|
||||
provider_name = '2.dnscrypt-cert.fr.dnscrypt.org'
|
||||
address = '212.47.228.136:443'
|
||||
public_key = 'E801:B84E:A606:BFB0:BAC0:CE43:445B:B15E:BA64:B02F:A3C4:AA31:AE10:636A:0790:324D'
|
||||
|
|
Loading…
Reference in New Issue