Maintained by: NLnet Labs

[Unbound-users] Accessing the values of returning queries from a python module

Gerald McNulty
Mon Feb 20 15:54:49 CET 2012


Is there an easy way to access the values of A or CNAME or NS records from
a python module? I'd like to do something with the IP address in the A
record but after digging down into
qstate.return_msg.rep.rrsets[i][j], I can't see how to
turn that into an IP address (for RR_TYPE_A) or hostname (for

Any help would be much appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>