[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-users
Subject:    [Mailman-Users] Re: DNSException: No Nameservers available for ...
From:       Mark Sapiro <mark () msapiro ! net>
Date:       2020-05-29 18:11:55
Message-ID: 479463ed-a8ca-4961-9a78-73276fce5618 () msapiro ! net
[Download RAW message or body]

On 5/29/20 9:54 AM, Lars Bjørndal wrote:
> 
> I tried the code on my system as well, and get:
> 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>     File "/usr/lib/python3.7/site-packages/dns/resolver.py", line 1002, in query
>         raise NXDOMAIN(qnames=qnames_to_try, responses=nxdomain_responses)
> 	dns.resolver.NXDOMAIN: None of DNS query names exist: _dmarc.blindeforbundet.no.
> 	, _dmarc.blindeforbundet.no.lamasti.net.



So this is not consistent with what was logged. You reported Mailman's
error log has

DNSException: No Nameservers available for
  username@blindeforbundet.no (_dmarc.blindeforbundet.no)

That message is only logged if the resolver.query() raises
dns.resolver.NoNameservers.


dns.resolver.NXDOMAIN is the expected result when there are no records
at _dmarc.blindeforbundet.no and results on no mitigation.

If this is a persistent error from Mailman, and Mailman is running on
the same server you ran the above on, I can't explain it, but possibly
is was just a transient situation and the mail from this user will now
be accepted.

-- 
Mark Sapiro <mark@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-leave@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic