From d4a5decf03bfe133c478195967494504d2bcc870 Mon Sep 17 00:00:00 2001 From: mohammad-latacora Date: Tue, 16 Jul 2024 08:25:27 -0400 Subject: [PATCH] Bugfix test_dnssec cache (#137) --- checkdmarc/dnssec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkdmarc/dnssec.py b/checkdmarc/dnssec.py index b55a34d..2cd7652 100644 --- a/checkdmarc/dnssec.py +++ b/checkdmarc/dnssec.py @@ -106,7 +106,7 @@ def test_dnssec(domain: str, cache = DNSSEC_CACHE if domain in cache: - return DNSSEC_CACHE[cache] + return cache[domain] key = get_dnskey(domain, nameservers=nameservers, timeout=timeout) if key is None: