serverless-dns / blocklists

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

blocklistConfig.json in today's reality #2

Closed ignoramous closed 1 year ago

ignoramous commented 3 years ago

Now that the blocklists cat is out of the bag, time to get rid of an unused field and introduce a new one.

ignoramous commented 1 year ago

Remove unused field: uname. It was included for book-keeping purposes from when we tracked nextdns/metadata for reasons that don't exist anymore.

uname will be retained mostly because older clients (The Rethink DNS + Firewall app below v053k) expect it. Perhaps, it could removed by oct 2023 (~1 year removed from v053k release).

Add new optional string field: status, which can assume dead, alive, unknown to depict the state of the blocklist. Since we can't recycle values once assigned (unless version is bumped up), we'd have to keep those entries around for book-keeping purposes.

pack is set to ["dead"] to denoted abandoned / deleted lists.

Overall, though, blocklistConfig.json must also capture its own version, so that's another field to introduce at the top-level.

Hard to introduce a version at this point without breaking clients. It is not strictly required since blocklist-config (and the resulting file-tag config) are implicitly versioned with timestamps to denote the time at which they were generated.

ignoramous commented 1 year ago

Add fields for homepage and a short description of the blocklist.

Yes, see: #8