On Thursday, April 11, 2019 12:29:28 AM Scott Kitterman wrote: > On Wednesday, April 10, 2019 09:16:56 PM Dave Crocker wrote: > > On 4/10/2019 8:37 PM, Scott Kitterman wrote: > > >>>> print(response.additional) > > > > > > [] > > > > Turns out that's what I was especially hoping to see. > > Great. I checked and dnspython can do that too: > >>> import dns.resolver > >>> a = dns.resolver.query('google.com', dns.rdatatype.TXT) > >>> print(a.response.additional) > > []
And just for fun python-getdns [1] has an even more interesting result to that same query: {'additional': [{'do': 1, 'extended_rcode': 0, 'rdata': {}, 'type': 41, 'udp_payload_size': 65535, 'version': 0, 'z': 0}] As far as I know, the unbound python bindings don't do TXT, so that's all the Python libs I know about. Scott K [1] https://github.com/getdnsapi/getdns-python-bindings _______________________________________________ dmarc mailing list dmarc@ietf.org https://www.ietf.org/mailman/listinfo/dmarc