Skip to content

Commit

Permalink
Fix likely merge mistake in 564ed59
Browse files Browse the repository at this point in the history
Fixes #2466
  • Loading branch information
JoshData committed Jan 4, 2025
1 parent 18721e4 commit f73da3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions management/status_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def run_network_checks(env, output):
# by a spammer, or the user may be deploying on a residential network. We
# will not be able to reliably send mail in these cases.
rev_ip4 = ".".join(reversed(env['PUBLIC_IP'].split('.')))
zen = query_dns(rev_ip4+'.zen.spamhaus.org', 'A', nxdomain=None, retry = False)
zen = query_dns(rev_ip4+'.zen.spamhaus.org', 'A', nxdomain=None)
evaluate_spamhaus_lookup(env['PUBLIC_IP'], 'IPv4', rev_ip4, output, zen)

if not env['PUBLIC_IPV6']:
Expand All @@ -292,7 +292,7 @@ def run_network_checks(env, output):
from ipaddress import IPv6Address

rev_ip6 = ".".join(reversed(IPv6Address(env['PUBLIC_IPV6']).exploded.split(':')))
zen = query_dns(rev_ip6+'.zen.spamhaus.org', 'A', nxdomain=None, retry = False)
zen = query_dns(rev_ip6+'.zen.spamhaus.org', 'A', nxdomain=None)
evaluate_spamhaus_lookup(env['PUBLIC_IPV6'], 'IPv6', rev_ip6, output, zen)


Expand Down

0 comments on commit f73da3d

Please sign in to comment.