[getdns-users] Example using the "dnssec_return_validation_chain" extension

Melinda Shore melinda.shore at nomountain.net
Wed Feb 10 19:50:16 UTC 2016


Hi, Linus:

I believe there are examples in the test subdirectory, but
here's a Python example:

import getdns
from pprint import pprint

c = getdns.Context()
ext = { 'dnssec_return_validation_chain': getdns.EXTENSION_TRUE }
r = c.address('getdnsapi.net', extensions=ext)
pprint(r.validation_chain)


Melinda




More information about the Users mailing list