filtering with python

Bino Oetomo wowon01 at gmail.com
Tue Aug 16 02:24:06 UTC 2016


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-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20160816/fcd5560f/attachment.htm>


More information about the Unbound-users mailing list