Dear All.
I’m using dns_filter.py from https://github.com/ohitz/unbound-domainfilter/blob/master/dns_filter.py to programaticaly filtering.
With this , I can put blocked domain in database and use preconfigured address as ‘IN A’.
my question :
In unbound configuration example, there is lines like ‘local-zone: “doubleclick.net” redirect’.
How to mimic that behaviour using python ? what I need to send as answer to the query ? how to send ‘NXDOMAIN’ as answer ?
Sincerely
-bino-