]> git.siccegge.de Git - dane-monitoring-plugins.git/commitdiff
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 2e220578dfabb7cd028a73c499921be404be2a68..3f8b48919343ea8986d1453bd32a00004b8bd235 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)