- Notifications
You must be signed in to change notification settings - Fork4
Staging blacklist/whitelist/customlist repo for dnswarden
License
dnswarden/blocklist-staging
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repo contains multiple blacklists and whitelists files required fordnswarden. Look atupdate history to see total number of domains in repo and when the lists were last updated.
Default adblock and adultfilter dns consists of lists defined inadblockConfig
andadultfilterConfig
indefault.json. You can add or remove elements to them. Each element represents the list wherevalue==element
inblocklistConfig
.
You can add, remove, edit and move around the arrays indefault.json.
{"name":"dnswarden (Tiny whitelist & blacklist)","category":"Tiny","url": ["https://raw.githubusercontent.com/dnswarden/blocklist-staging/main/blacklist/tiny_normal.txt","https://raw.githubusercontent.com/dnswarden/blocklist-staging/main/whitelist/tinylist.txt","https://raw.githubusercontent.com/dnswarden/blocklist-staging/main/blacklist/tiny_wildcard.txt" ],"filterType": ["b-norm","white","b-wild"],"source":"","totalDomains":0,"value":113 }
where,
"name":
String which is used to display and identify lists oncustomfilter page and onsearch page."category":
Strings to represent a list to which category they belong. Note: Internally this has no-effect and it is only helpful while displaying lists oncustomfilter page and onsearch page."url":
Array of urls for blocklists, can be one or more."filterType":
Array of strings which represents what type of filter should the list be used as. Should always be equal to number of elements in"url":
"filterType"
can take the following values"b-norm"
: to match the exact domain in the list for blacklisting."white"
: to match the exact domain in the list for whitelisting."b-wild"
: to match a wildcard domain in the list.
"value":
Integer,- should be a nonrepetitive number
- for new entries, always use (length of
blocklistConfig
+ 1)
"enabled:"
Boolean. True, enables the list. False, disables the list which is useful for dead lists/links until we find a replacement.