fix: skip subdomains of 168.192.in-addr.arpa
authorheiko
Tue, 30 Dec 2014 14:46:29 +0100
changeset 6 eac6751d5bff
parent 5 2e27cfdf85ea
child 7 f027886d3617
fix: skip subdomains of 168.192.in-addr.arpa
plugins/check_dns-serial
--- a/plugins/check_dns-serial	Tue Dec 30 14:40:45 2014 +0100
+++ b/plugins/check_dns-serial	Tue Dec 30 14:46:29 2014 +0100
@@ -65,7 +65,7 @@
     }
     return grep { 
 	# FIXME: 172.0 .. 172.31 is missing
-	not /^\b(?:0|127|10|168\.192|255)\.in-addr\.arpa$/ and
+	not /\b(?:0|127|10|168\.192|255)\.in-addr\.arpa$/ and
 	not /^localhost$/;
     } map { /zone\s"(\S+)"\s/ } grep { /type (?:master|slave)/ } @conf;
 }