Fix indentation in example config.yml (#132)

This commit is contained in:
Marc Schlaich 2021-02-16 16:12:41 +01:00 committed by GitHub
parent 3915a8e6f0
commit ab7b6fbdbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 29 deletions

View File

@ -69,35 +69,35 @@ blocking:
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
- https://mirror1.malwaredomains.com/files/justdomains - https://mirror1.malwaredomains.com/files/justdomains
- http://sysctl.org/cameleon/hosts - http://sysctl.org/cameleon/hosts
- https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist - https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
- https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt - https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
special: special:
- https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts - https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews/hosts
# definition of whitelist groups. Attention: if the same group has black and whitelists, whitelists will be used to disable particular blacklist entries. If a group has only whitelist entries -> this means only domains from this list are allowed, all other domains will be blocked # definition of whitelist groups. Attention: if the same group has black and whitelists, whitelists will be used to disable particular blacklist entries. If a group has only whitelist entries -> this means only domains from this list are allowed, all other domains will be blocked
whiteLists: whiteLists:
ads: ads:
- whitelist.txt - whitelist.txt
# definition: which groups should be applied for which client # definition: which groups should be applied for which client
clientGroupsBlock: clientGroupsBlock:
# default will be used, if no special definition for a client name exists # default will be used, if no special definition for a client name exists
default: default:
- ads - ads
- special - special
# use client name (with wildcard support: * - sequence of any characters, [0-9] - range) # use client name (with wildcard support: * - sequence of any characters, [0-9] - range)
# or single ip address / client subnet as CIDR notation # or single ip address / client subnet as CIDR notation
laptop*: laptop*:
- ads - ads
192.168.178.1/24: 192.168.178.1/24:
- special - special
# which response will be sent, if query is blocked: # which response will be sent, if query is blocked:
# zeroIp: 0.0.0.0 will be returned (default) # zeroIp: 0.0.0.0 will be returned (default)
# nxDomain: return NXDOMAIN as return code # nxDomain: return NXDOMAIN as return code
# comma separated list of destination IP adresses (for example: 192.100.100.15, 2001:0db8:85a3:08d3:1319:8a2e:0370:7344). Should contain ipv4 and ipv6 to cover all query types. Useful with running web server on this address to display the "blocked" page. # comma separated list of destination IP adresses (for example: 192.100.100.15, 2001:0db8:85a3:08d3:1319:8a2e:0370:7344). Should contain ipv4 and ipv6 to cover all query types. Useful with running web server on this address to display the "blocked" page.
blockType: zeroIp blockType: zeroIp
# optional: automatically list refresh period in minutes. Default: 4h. # optional: automatically list refresh period in minutes. Default: 4h.
# Negative value -> deactivate automatically refresh. # Negative value -> deactivate automatically refresh.
# 0 value -> use default # 0 value -> use default
refreshPeriod: 0 refreshPeriod: 0
# optional: configuration for caching of DNS responses # optional: configuration for caching of DNS responses
caching: caching: