plugins/check_dns-serial
changeset 6 eac6751d5bff
parent 5 2e27cfdf85ea
child 7 f027886d3617
equal deleted inserted replaced
5:2e27cfdf85ea 6:eac6751d5bff
    63             $line = '';
    63             $line = '';
    64         }
    64         }
    65     }
    65     }
    66     return grep { 
    66     return grep { 
    67 	# FIXME: 172.0 .. 172.31 is missing
    67 	# FIXME: 172.0 .. 172.31 is missing
    68 	not /^\b(?:0|127|10|168\.192|255)\.in-addr\.arpa$/ and
    68 	not /\b(?:0|127|10|168\.192|255)\.in-addr\.arpa$/ and
    69 	not /^localhost$/;
    69 	not /^localhost$/;
    70     } map { /zone\s"(\S+)"\s/ } grep { /type (?:master|slave)/ } @conf;
    70     } map { /zone\s"(\S+)"\s/ } grep { /type (?:master|slave)/ } @conf;
    71 }
    71 }
    72 
    72 
    73 sub get_domains {
    73 sub get_domains {