python unbound issues
Spike Morelli (DRBA)
spike at drba.org
Mon Feb 22 22:15:52 UTC 2016
Hi,
I'm running ubuntu 14.04 with unbound 1.4.22 installed from packages. I'm
also using python-unbound package to get the python interface going.
2 issues I'm seeing:
1) unbound-checkconfig complains that the python module isn't there:
[1456179172] unbound-checkconf[5330:0] fatal error: module conf 'python
iterator' is not known to work
looking at the source code this seems to be due to WITH_PYTHONMODULE not
being set, but I'm not sure where that's not happening. any clue?
2) I'm using the resgen.py script as from
https://github.com/jedisct1/unbound/blob/master/pythonmod/examples/resgen.py
and my response does not get cached. is that expected?
I've tried to force the cache using storeQueryInCache as shown here:
https://github.com/jedisct1/unbound/blob/master/pythonmod/examples/resmod.py
but I get an error (it just says python module error, no info why, but it
doesn't happen if I don't have that line so pretty sure that's the problem).
any help?
thanks in advance,
Spike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20160222/70049af3/attachment.htm>
More information about the Unbound-users
mailing list