forked from folbricht/routedns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blocklist-remote.toml
30 lines (27 loc) · 1.18 KB
/
blocklist-remote.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Config with a remote blocklist that is refreshed once a day and also a remote
# allowlist that overrides any blocking rules. Multiple block and allow-lists
# with different formats can be specified, but the refresh-period is the same.
[resolvers.cloudflare-dot]
address = "1.1.1.1:853"
protocol = "dot"
[groups.cloudflare-blocklist]
type = "blocklist-v2"
resolvers = ["cloudflare-dot"]
blocklist-refresh = 86400
blocklist-source = [
{format = "domain", source = "https://raw.githubusercontent.com/cbuijs/accomplist/master/deugniets/routedns.blocklist.domain.list"},
{format = "regexp", source = "https://raw.githubusercontent.com/cbuijs/accomplist/master/deugniets/routedns.blocklist.regexp.list"},
]
allowlist-refresh = 86400
allowlist-source = [
{format = "domain", source = "https://raw.githubusercontent.com/cbuijs/accomplist/master/deugniets/routedns.allowlist.domain.list"},
{format = "regexp", source = "https://raw.githubusercontent.com/cbuijs/accomplist/master/deugniets/routedns.allowlist.regexp.list"},
]
[listeners.local-udp]
address = ":53"
protocol = "udp"
resolver = "cloudflare-blocklist"
[listeners.local-tcp]
address = ":53"
protocol = "tcp"
resolver = "cloudflare-blocklist"