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

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Wed Jun 16 22:06:06 EDT 2010


On 15 Jun, 11:33 pm, jasonjwwilliams at gmail.com wrote:
>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?

DNSServerError is documented as indicating ESERVER (I think that's what 
"SERVFAIL" means in your list).  So that's the underlying issue.  Are 
you encountering it in other circumstances?

Jean-Paul



More information about the Twisted-Python mailing list