mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-29 21:07:44 +00:00
AdvanceBlocking: updated config template.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"enableBlocking": true,
|
||||
"allowTxtBlockingReport": true,
|
||||
"blockAsNxDomain": false,
|
||||
"blockListUrlUpdateIntervalHours": 24,
|
||||
"blockingAddresses": [
|
||||
@@ -7,12 +8,12 @@
|
||||
"::"
|
||||
],
|
||||
"networkGroupMap": {
|
||||
"192.168.1.20": "kids",
|
||||
"192.168.1.0/24": "home"
|
||||
"192.168.10.20": "kids",
|
||||
"0.0.0.0/0": "everyone"
|
||||
},
|
||||
"groups": [
|
||||
{
|
||||
"name": "home",
|
||||
"name": "everyone",
|
||||
"enabled": true,
|
||||
"allowed": [],
|
||||
"blocked": [
|
||||
@@ -27,9 +28,8 @@
|
||||
"^ads\\."
|
||||
],
|
||||
"regexAllowListUrls": [],
|
||||
"regexBlockListUrls": [
|
||||
"http://localhost:5380/RegexBlockList.txt"
|
||||
]
|
||||
"regexBlockListUrls": [],
|
||||
"adblockListUrls": []
|
||||
},
|
||||
{
|
||||
"name": "kids",
|
||||
@@ -43,7 +43,8 @@
|
||||
"allowedRegex": [],
|
||||
"blockedRegex": [],
|
||||
"regexAllowListUrls": [],
|
||||
"regexBlockListUrls": []
|
||||
"regexBlockListUrls": [],
|
||||
"adblockListUrls": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user