Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
underdarknl authored Jan 8, 2025
1 parent eb318dd commit 3bdf91a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boefjes/boefjes/plugins/kat_dns/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,7 @@ def get_email_security_records(resolver: dns.resolver.Resolver, hostname: str, r
if edeerror in (1, 2, 5, 6, 7, 8, 9, 10, 11, 12): # DNSSEC error codes defined in RFC 8914
return "DNSSECFAIL" # returned when the resolver indicates a DNSSEC failure.
raise # Not dnssec related, unhandled, raise.
except dns.resolver.NXDOMAIN:
return "NXDOMAIN"
except dns.resolver.Timeout:
return "Timeout"

0 comments on commit 3bdf91a

Please sign in to comment.