]> git.siccegge.de Git - tools.git/commitdiff
Also check NS record for validity
authorChristoph Egger <christoph@christoph-egger.org>
Mon, 16 Nov 2015 13:09:51 +0000 (14:09 +0100)
committerChristoph Egger <christoph@christoph-egger.org>
Mon, 16 Nov 2015 13:09:51 +0000 (14:09 +0100)
dnssec-check

index e88fc5da1b648a97430825f50e1c6ca0536e7923..162d77c01d5cdcf25232d289a9c5409868445269 100755 (executable)
@@ -51,6 +51,10 @@ def check_zone_synced(resolver, name):
         ub_strerror(s)
         return 3
 
+    if not result.secure:
+        print("CRIT (does not verify) %s" % (name, ))
+        return 2
+
     nameservers = result.data.as_domain_list()
     nsips = []
     for nameserver in nameservers: