Traceback (most recent call last):
File "/opt/dnstats/dnstats/venv/lib/python3.6/site-packages/celery/app/trace.py", line 412, in trace_task
R = retval = fun(*args, **kwargs)
File "/opt/dnstats/dnstats/venv/lib/python3.6/site-packages/celery/app/trace.py", line 704, in __protected_call__
return self.run(*args, **kwargs)
File "/opt/dnstats/dnstats/venv/lib/python3.6/site-packages/sentry_sdk/integrations/celery.py", line 171, in _inner
reraise(*exc_info)
File "/opt/dnstats/dnstats/venv/lib/python3.6/site-packages/sentry_sdk/_compat.py", line 55, in reraise
raise value
File "/opt/dnstats/dnstats/venv/lib/python3.6/site-packages/sentry_sdk/integrations/celery.py", line 166, in _inner
return f(*args, **kwargs)
File "/opt/dnstats/dnstats/dnstats/celery.py", line 176, in grade_spf
grade, errors = grade_spf_record(records, site.domain, site_run.has_mx)
File "/opt/dnstats/dnstats/dnstats/grading/spf.py", line 38, in grade
errors.extend(spf_record.errors)
File "/opt/dnstats/dnstats/dnstats/dnsvalidate/spf.py", line 50, in errors
return _validate_spf(self.spf_record, self.domain)['errors']
File "/opt/dnstats/dnstats/dnstats/dnsvalidate/spf.py", line 137, in _validate_spf
if not ipaddress.IPv4Network(ip[1]).is_global:
File "/usr/lib64/python3.6/ipaddress.py", line 1519, in __init__
raise ValueError('%s has host bits set' % self)
ValueError: 63.134.207.1/24 has host bits set