[Meta] knot-resolver/unbound: domain blocking for specific clients
This issue is related to the idea of how to use AdBlock only for specific clients.
knot-resolver:
It's possible to add custom rpz policy for specific subnet https://knot-resolver.readthedocs.io/en/latest/modules-view.html#example-configuration
-- RPZ for subset of clients
view:addr('192.168.1.0/24', policy.rpz(policy.PASS, 'whitelist.rpz'))
unbound:
The same feature could be done probably with access-control-tags
see https://medium.com/nlnetlabs/client-based-filtering-in-unbound-d7da3f1ef639 and https://medium.com/nlnetlabs/response-policy-zones-in-unbound-5d453de75f26