serverless-dns / blocklists

An opinionated collection of blocklists for RethinkDNS.
https://rethinkdns.com/configure
Mozilla Public License 2.0
85 stars 26 forks source link

Introduce "type" field to mark wildcard lists #9

Closed ignoramous closed 1 year ago

ignoramous commented 3 years ago

Some lists are already implicitly treated as wildcarded (resolver, app); make that explicit in the json file.

"type": "wildcard",

Make the field optional.

ignoramous commented 2 years ago

Interesting suggestion from badmojr... treat all lists as wildcards.

Horizonbli commented 2 years ago

Sorry for stepping in, but that's a great idea. Also, and I apologize if I am writing in the wrong place, but what about also having the option for regular expressions?

ignoramous commented 2 years ago

what about also having the option for regular expressions?

Not enough cpu processing power to deal with those, currently. We run rethinkdns stub-resolver on-device in our app (battery concerns with more cpu use), on our servers on fly (cheapest instances with time-starved cpus), and on serverless environments like cloudflare (hard cap on 50milliseconds cpu time). All three places where cpu is at a premium.

ignoramous commented 1 year ago

All lists are wildcards: https://github.com/serverless-dns/serverless-dns/commit/cb6e02a19c3aa0b962d452d0b468eb79fb43adcf

ignoramous commented 1 year ago

Per above, I don't see a need to mark lists are wildcards, anymore.

ignoramous commented 1 year ago

Ref: https://github.com/bongochong/CombinedPrivacyBlockLists/commit/1f2aa973b2f2c1f84909015f9a916ef01f358aca

ignoramous commented 1 year ago

Also: https://github.com/lightswitch05/hosts/issues/301