diff --git a/test_dnssec.py b/test_dnssec.py index 30ae8454..77c08fde 100644 --- a/test_dnssec.py +++ b/test_dnssec.py @@ -236,7 +236,7 @@ def testdns(key, datatype, use_dnssec): print('\ttestdns', key, datatype, use_dnssec) cache_key = 'dnslookup://{0}#{1}#{2}'.format(key, datatype, use_dnssec) if has_cache_file(cache_key, True, CACHE_TIME_DELTA): - cache_path = get_cache_path(cache_key, True) + cache_path = get_cache_path_for_file(cache_key, True) print('\t- Using dnslookup cache') response = dns.message.from_file(cache_path) print('\t- response:\n\t\t{0}'.format(response.to_text().replace('\n', '\n\t\t')))