Now that Unbound is supporting Python for its DNSBL (adblocking), it should be
possible to support
regex blocking in addition to normal blocking lists?
Regex support would make Unbound adblocking really powerful and makes it inline with PiHole and AdGuardHome.
Examples of some regex blocking that I am looking to add:
/^(.+[_.-])?adse?rv(er?|ice)?s?[0-9]*[_.-]/
/^(.+[_.-])?telemetry[_.-]/
/^ad([sxv]?[0-9]*|system)[_.-]([^.[:space:]]+\.){1,}|[_.-]ad([sxv]?[0-9]*|system)[_.-]/
Help needed:
- How do I add the above regex lines?
- Which file, location, etc..?
- Instructions please?
Bump.
Anyone...?
Could anyone assist in writing Unbound regex rules please?