-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for multiple configuration files (#534)
- Loading branch information
Showing
7 changed files
with
156 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,18 @@ | ||
upstream: | ||
default: | ||
- tcp udp:8.8.8.8 | ||
- tcp udp:8.8.4.4 | ||
- 1.1.1.1 | ||
customDNS: | ||
mapping: | ||
my.duckdns.org: 192.168.178.3 | ||
multiple.ips: 192.168.178.3,192.168.178.4,2001:0db8:85a3:08d3:1319:8a2e:0370:7344 | ||
conditional: | ||
mapping: | ||
fritz.box: tcp udp:192.168.178.1 | ||
multiple.resolvers: tcp udp:192.168.178.1,tcp udp:192.168.178.2 | ||
filtering: | ||
queryTypes: | ||
- AAAA | ||
- A | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,36 @@ | ||
blocking: | ||
blackLists: | ||
ads: | ||
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt | ||
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | ||
- https://mirror1.malwaredomains.com/files/justdomains | ||
- http://sysctl.org/cameleon/hosts | ||
- https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist | ||
- https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt | ||
special: | ||
- https://hosts-file.net/ad_servers.txt | ||
whiteLists: | ||
ads: | ||
- whitelist.txt | ||
clientGroupsBlock: | ||
default: | ||
- ads | ||
- special | ||
Laptop-D.fritz.box: | ||
- ads | ||
blockTTL: 1m | ||
# without unit -> use minutes | ||
refreshPeriod: 120 | ||
clientLookup: | ||
upstream: 192.168.178.1 | ||
singleNameOrder: | ||
- 2 | ||
- 1 | ||
|
||
queryLog: | ||
type: csv-client | ||
target: /opt/log | ||
|
||
port: 55553,:55554,[::1]:55555 | ||
logLevel: debug | ||
dohUserAgent: testBlocky |