dnswarden / blocklist-staging

Staging blacklist/whitelist/customlist repo for dnswarden
MIT License
19 stars 4 forks source link

Is there any downside in wildcard entries for dnswarden now? #31

Closed SpencerIsGiddy closed 1 year ago

SpencerIsGiddy commented 1 year ago

Just saw the new update to dnswarden and was wondering if there is now any downside to having wildcard entries. If there isn’t. Il try to switch over some lists to wildcard entries that aren’t already

bhanupratapys commented 1 year ago

There aren't downsides now, i fixed that couples of weeks ago. I managed to switch out the most relevant lists to wildcards and left out few like oisd (basic) where dbl_basic and dblw_basic were almost same in size. Go ahead and switch them if you find any others. I'm in process of deploying changes to backend and it might take a while to reflect the changes in backend.

Newer version supports this kind of format.

    {
      "name": "dnswarden (Tiny whitelist & blacklist)",
      "category": "Tiny, Whitelist, Ads",
      "url": [
        "https://raw.githubusercontent.com/dnswarden/blocklist-staging/main/blacklist/blacklist_extreme.txt",
        "https://raw.githubusercontent.com/dnswarden/blocklist-staging/main/whitelist/tinylist.txt"
      ],
      "filterType": ["b-norm", "white"],
      "source": "",
      "totalDomains": 0,
      "value": 113
    }

Where you can have multiple urls to a single value and define what kind of filter it is.

filterType can take 3 values,

SpencerIsGiddy commented 1 year ago

This is awesome! Thanks