[Twisted-Python] Getting at the underlying issue in a DNSServerError failure.
Jason J. W. Williams
jasonjwwilliams at gmail.com
Tue Jun 15 17:33:07 MDT 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
twisted.names.error.DNSServerError?
I'm issuing a resolver.lookupNameservers() BTW.
The failure received by the errback generates this for
failure.getErrorMessage() : <twisted.names.dns.Message instance at
0x101272908>
Traceback prints: twisted.names.error.DNSServerError:
<twisted.names.dns.Message instance at 0x101272908>
So overall, not very specific. Any help is appreciated.
-J
More information about the Twisted-Python
mailing list