mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
88 lines
2.0 KiB
Plaintext
88 lines
2.0 KiB
Plaintext
{
|
|
"enableBlocking": true,
|
|
"blockListUrlUpdateIntervalHours": 24,
|
|
"localEndPointGroupMap": {
|
|
"127.0.0.1": "bypass",
|
|
"192.168.10.2:53": "bypass",
|
|
"user1.dot.example.com": "kids",
|
|
"user2.doh.example.com:443": "bypass"
|
|
},
|
|
"networkGroupMap": {
|
|
"192.168.10.20": "kids",
|
|
"0.0.0.0/0": "everyone",
|
|
"[::]/0": "everyone"
|
|
},
|
|
"groups": [
|
|
{
|
|
"name": "everyone",
|
|
"enableBlocking": true,
|
|
"allowTxtBlockingReport": true,
|
|
"blockAsNxDomain": true,
|
|
"blockingAddresses": [
|
|
"0.0.0.0",
|
|
"::"
|
|
],
|
|
"allowed": [],
|
|
"blocked": [
|
|
"example.com"
|
|
],
|
|
"allowListUrls": [],
|
|
"blockListUrls": [
|
|
"https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
|
|
],
|
|
"allowedRegex": [],
|
|
"blockedRegex": [
|
|
"^ads\\."
|
|
],
|
|
"regexAllowListUrls": [],
|
|
"regexBlockListUrls": [],
|
|
"adblockListUrls": []
|
|
},
|
|
{
|
|
"name": "kids",
|
|
"enableBlocking": true,
|
|
"allowTxtBlockingReport": true,
|
|
"blockAsNxDomain": true,
|
|
"blockingAddresses": [
|
|
"0.0.0.0",
|
|
"::"
|
|
],
|
|
"allowed": [],
|
|
"blocked": [],
|
|
"allowListUrls": [],
|
|
"blockListUrls": [
|
|
{
|
|
"url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts",
|
|
"blockAsNxDomain": false,
|
|
"blockingAddresses": [
|
|
"192.168.10.2"
|
|
]
|
|
}
|
|
],
|
|
"allowedRegex": [],
|
|
"blockedRegex": [],
|
|
"regexAllowListUrls": [],
|
|
"regexBlockListUrls": [],
|
|
"adblockListUrls": []
|
|
},
|
|
{
|
|
"name": "bypass",
|
|
"enableBlocking": true,
|
|
"allowTxtBlockingReport": true,
|
|
"blockAsNxDomain": true,
|
|
"blockingAddresses": [
|
|
"0.0.0.0",
|
|
"::"
|
|
],
|
|
"allowed": [],
|
|
"blocked": [],
|
|
"allowListUrls": [],
|
|
"blockListUrls": [],
|
|
"allowedRegex": [],
|
|
"blockedRegex": [],
|
|
"regexAllowListUrls": [],
|
|
"regexBlockListUrls": [],
|
|
"adblockListUrls": []
|
|
}
|
|
]
|
|
} |