Hi

The command `dig +short @::1 version.bind. chaos txt` outputs "9.6.1". The following python script however outputs "None":-

import unbound
ctx = unbound.ub_ctx()
ctx.set_fwd("::1")
status, result = ctx.resolve("version.bind", unbound.RR_TYPE_TXT, unbound.RR_CLASS_CH)
print result.rawdata

I am using Unbound 1.3.0 on GNU/Linux with Python 2.5.2.

Regards,

Chris

_______________________________________________
Unbound-users mailing list
[email protected]
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users

Reply via email to