[Unbound-users] accesing config_stub from pythonmod
paystee at gmail.com
Wed Jun 5 03:03:51 UTC 2013
I have two forward zones defined in config file:
And when I try to get their names from init function using pythonmod:
def init(id, cfg):
Attribute error is raised ('SwigPyObject' object has no attribute 'name').
Same when I'm trying to access any other attribute defined in struct
config_stub (addrs, hosts, isfirst).
And one more thing... can't access to mod_env global variable since it is
set to None.
Using unbound version 1.4.20
Am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Unbound-users