Indent sections in the example config file
It should make it more obvious that properties are tied to a section. Fixes #62
This commit is contained in:
parent
9b4eb54c0b
commit
cb0e2a1759
|
@ -165,19 +165,19 @@ cache_neg_ttl = 60
|
||||||
|
|
||||||
[query_log]
|
[query_log]
|
||||||
|
|
||||||
## Path to the query log file (absolute, or relative to the same directory as the executable 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)
|
## Query log format (currently supported: tsv and ltsv)
|
||||||
|
|
||||||
format = 'tsv'
|
format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
## Do not log these query types, to reduce verbosity. Keep empty to log everything.
|
## Do not log these query types, to reduce verbosity. Keep empty to log everything.
|
||||||
|
|
||||||
# ignored_qtypes = ['DNSKEY', 'NS']
|
# ignored_qtypes = ['DNSKEY', 'NS']
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -191,14 +191,14 @@ format = 'tsv'
|
||||||
|
|
||||||
[nx_log]
|
[nx_log]
|
||||||
|
|
||||||
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
## Path to the query log file (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
# file = 'nx.log'
|
# file = 'nx.log'
|
||||||
|
|
||||||
|
|
||||||
## Query log format (currently supported: tsv and ltsv)
|
## Query log format (currently supported: tsv and ltsv)
|
||||||
|
|
||||||
format = 'tsv'
|
format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -220,19 +220,19 @@ format = 'tsv'
|
||||||
|
|
||||||
[blacklist]
|
[blacklist]
|
||||||
|
|
||||||
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
## 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
|
## Optional path to a file logging blocked queries
|
||||||
|
|
||||||
# log_file = 'blocked.log'
|
# log_file = 'blocked.log'
|
||||||
|
|
||||||
|
|
||||||
## Optional log format: tsv or ltsv (default: tsv)
|
## Optional log format: tsv or ltsv (default: tsv)
|
||||||
|
|
||||||
# log_format = 'tsv'
|
# log_format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -248,19 +248,19 @@ format = 'tsv'
|
||||||
|
|
||||||
[ip_blacklist]
|
[ip_blacklist]
|
||||||
|
|
||||||
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
## Path to the file of blocking rules (absolute, or relative to the same directory as the executable file)
|
||||||
|
|
||||||
# blacklist_file = 'ip-blacklist.txt'
|
# blacklist_file = 'ip-blacklist.txt'
|
||||||
|
|
||||||
|
|
||||||
## Optional path to a file logging blocked queries
|
## Optional path to a file logging blocked queries
|
||||||
|
|
||||||
# log_file = 'ip-blocked.log'
|
# log_file = 'ip-blocked.log'
|
||||||
|
|
||||||
|
|
||||||
## Optional log format: tsv or ltsv (default: tsv)
|
## Optional log format: tsv or ltsv (default: tsv)
|
||||||
|
|
||||||
# log_format = 'tsv'
|
# log_format = 'tsv'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -285,7 +285,7 @@ format = 'tsv'
|
||||||
|
|
||||||
[sources]
|
[sources]
|
||||||
|
|
||||||
## An example of a remote source
|
## An example of a remote source
|
||||||
|
|
||||||
[sources.'public-resolvers']
|
[sources.'public-resolvers']
|
||||||
url = 'http://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
|
url = 'http://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'
|
||||||
|
@ -295,16 +295,13 @@ format = 'tsv'
|
||||||
refresh_delay = 168
|
refresh_delay = 168
|
||||||
prefix = ''
|
prefix = ''
|
||||||
|
|
||||||
## Another example source, with resolvers censoring some websites not approriate for children
|
## Another example source, with resolvers censoring some websites not approriate for children
|
||||||
## This is a subset of the `public-resolvers` list, so enabling both is useless
|
## This is a subset of the `public-resolvers` list, so enabling both is useless
|
||||||
|
|
||||||
# [sources.'parental-control']
|
# [sources.'parental-control']
|
||||||
# url = 'http://download.dnscrypt.info/resolvers-list/v2/parental-control.md'
|
# url = 'http://download.dnscrypt.info/resolvers-list/v2/parental-control.md'
|
||||||
# cache_file = 'parental-control.md'
|
# cache_file = 'parental-control.md'
|
||||||
# format = 'v2'
|
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
||||||
# minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
|
|
||||||
# refresh_delay = 168
|
|
||||||
# prefix = ''
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -313,8 +310,8 @@ format = 'tsv'
|
||||||
|
|
||||||
[static]
|
[static]
|
||||||
|
|
||||||
# [static.'google']
|
# [static.'google']
|
||||||
# stamp = 'sdns://AgEAAAAAAAAAACDyXGrcc5eNecJ8nomJCJ-q6eCLTEn6bHic0hWGUwYQaA5kbnMuZ29vZ2xlLmNvbQ0vZXhwZXJpbWVudGFs'
|
# stamp = 'sdns://AgEAAAAAAAAAACDyXGrcc5eNecJ8nomJCJ-q6eCLTEn6bHic0hWGUwYQaA5kbnMuZ29vZ2xlLmNvbQ0vZXhwZXJpbWVudGFs'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue