Skip to content

Commit

Permalink
Remove unneeded request
Browse files Browse the repository at this point in the history
  • Loading branch information
seanthegeek committed Jan 11, 2024
1 parent 2636852 commit f5582b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions checkdmarc/dnssec.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def get_dnskey(domain: str, nameservers: list[str] = None,
if response is not None:
answer = response.answer
if len(answer) == 0:
request = dns.message.make_query(domain,
dns.rdatatype.DNSKEY)
logging.debug(f"No DNSKEY records found at {domain}")
base_domain = get_base_domain(domain)
if domain != base_domain:
Expand Down

0 comments on commit f5582b1

Please sign in to comment.