
On 05/29/2014 07:15 AM, Joel Uckelman wrote:
So:
IsDMARCProhibited() is running for me.
dns_resolver was *not* false. It looks like this rules out an ImportError in my case, since the only way dns_resolver can be set to false is in the event of an ImportError (see line 79).
It's good to fix the bug you noted regardless, but something else is failing silently for me.
What do you get on the local machine from
dig txt _dmarc.yahoo.com
If that gives the expected result, what do you get from the following Python
import dns.resolver from dns.exception import DNSException resolver = dns.resolver.Resolver() dmarc_domain = '_dmarc.yahoo.com' resolver.timeout = 3.0 resolver.lifetime = 5.0 txt_recs = resolver.query(dmarc_domain, dns.rdatatype.TXT) for x in txt_recs: print x
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan