On 05/29/2014 07:15 AM, Joel Uckelman wrote:
> 
> So:
> 
> 1) IsDMARCProhibited() is running for me.
> 
> 2) 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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to