[Twisted-Python] DNSQueryRefusedError question

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/

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@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

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@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@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
participants (1)
-
Alvin Delagon