2023-03-24 13:09:29 +01:00
|
|
|
# https://0xerr0r.github.io/blocky/v0.20/configuration/#basic-configuration
|
|
|
|
upstream:
|
|
|
|
default:
|
|
|
|
- 9.9.9.9
|
|
|
|
- 8.8.8.8
|
|
|
|
upstreamTimeout: 2s
|
|
|
|
|
|
|
|
port: 53
|
|
|
|
httpPort: 4000
|
|
|
|
|
|
|
|
connectIPVersion: v4
|
|
|
|
|
|
|
|
queryLog:
|
|
|
|
type: console
|
|
|
|
|
|
|
|
customDNS:
|
|
|
|
mapping:
|
|
|
|
mgrote.net: 192.168.2.43 # nötig damit z.B. oxidized pushen kann
|
|
|
|
|
|
|
|
conditional:
|
|
|
|
mapping:
|
|
|
|
grote.lan: 192.168.2.1
|
|
|
|
|
2023-03-24 13:42:28 +01:00
|
|
|
filtering:
|
|
|
|
queryTypes:
|
|
|
|
- AAAA # disable IPv6/AAAA Queries
|
|
|
|
|
2023-03-24 13:09:29 +01:00
|
|
|
blocking:
|
|
|
|
startStrategy: failOnError # like blocking but blocky will shut down if any download fails
|
|
|
|
blockType: nxDomain
|
|
|
|
blockTTL: 360s
|
|
|
|
refreshPeriod: 60m
|
|
|
|
blackLists:
|
|
|
|
ads:
|
|
|
|
- http://sysctl.org/cameleon/hosts
|
|
|
|
- https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts
|
|
|
|
- https://raw.githubusercontent.com/StevenBlack/hosts/master/data/add.Spam/hosts
|
|
|
|
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
|
2023-05-12 08:18:45 +02:00
|
|
|
- https://v.firebog.net/hosts/AdguardDNS.txt
|
|
|
|
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
|
|
|
|
- https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardMobileAds.txt
|
|
|
|
- https://raw.githubusercontent.com/r-a-y/mobile-hosts/master/AdguardMobileSpyware.txt
|
2023-03-24 13:09:29 +01:00
|
|
|
# - |
|
|
|
|
# # inline definition with YAML literal block scalar style
|
|
|
|
# someadsdomain.com
|
|
|
|
# anotheradsdomain.com
|
|
|
|
# # this is a regex
|
|
|
|
# /^banners?[_.-]/
|
|
|
|
# whiteLists:
|
|
|
|
# ads:
|
|
|
|
# - |
|
|
|
|
# # inline definition with YAML literal block scalar style
|
|
|
|
# whitelistdomain.com
|