[Twisted-Python] Re: DNSQueryRefusedError question

Alvin Delagon adelagon at gmail.com
Mon May 5 05:06:39 EDT 2008


Please disregard the question. We just found out that we have problematic
DNS servers on our /etc/resolv.conf. Thanks. :)

---
Alvin Delagon

On Mon, May 5, 2008 at 4:03 PM, Alvin Delagon <adelagon at gmail.com> wrote:

> Let me rephrase, the exception comes from a code that looks like this:
>
> calc = twisted.relaymanager.MXCalculator()
> calc.getMX("gmail.com").addCallback(sendEmail, mail)
>
> def sendEmail(mail):
> .
> .
> .
>
> It seems that the failure comes from twited.relaymanager.MXCalculator.
>
>
> On Mon, May 5, 2008 at 3:32 PM, Alvin Delagon <adelagon at gmail.com> wrote:
>
>> Can anyone explain what is causing this exception?
>>
>> twisted.names.error.DNSQueryRefusedError: <twisted.names.dns.Message
>> instance at 0xb78470cc>
>>
>> I'm using twisted.mail.smtp which subclasses twisted.names.dns. I keep
>> getting this failure during smtp.sendmail(). Thank you in advance. :)
>>
>> ---
>> Alvin Delagon
>>
>> --
>> http://www.alvinatorsplayground.blogspot.com/
>
>
>
>
> --
> http://www.alvinatorsplayground.blogspot.com/
>



-- 
http://www.alvinatorsplayground.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20080505/0a5f8982/attachment.htm 


More information about the Twisted-Python mailing list