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