Log tlsa record before lookup
authorChristoph Egger <christoph@christoph-egger.org>
Tue, 30 Aug 2016 16:53:27 +0000 (18:53 +0200)
committerChristoph Egger <christoph@christoph-egger.org>
Tue, 30 Aug 2016 16:53:27 +0000 (18:53 +0200)
check_dane/tlsa.py

index 2e22057..3f8b489 100644 (file)
@@ -15,6 +15,7 @@ except ImportError:
     RR_TYPE_TLSA = 52
 
 def verify_tlsa_record(resolver, record, certificate):
+    logging.debug("searching for TLSA record on %s", record)
     s, r = resolver.resolve(record, rrtype=RR_TYPE_TLSA)
     if 0 != s:
         ub_strerror(s)