[Twisted-Python] Getting at the underlying issue in a DNSServerError failure.

Jason J. W. Williams jasonjwwilliams at gmail.com
Tue Jun 15 19:33:07 EDT 2010

Hi Guys,

What is the best way to get at the underlying issue (i.e.
non-responsive name server, NXDOMAIN, SERVFAIL, etc.) when receiving a

I'm issuing a resolver.lookupNameservers() BTW.

The failure received by the errback generates this for
failure.getErrorMessage() : <twisted.names.dns.Message instance at

Traceback prints: twisted.names.error.DNSServerError:
<twisted.names.dns.Message instance at 0x101272908>

So overall, not very specific. Any help is appreciated.


More information about the Twisted-Python mailing list