diff -r 2d11bbd7be1e -r 9ce7eb4a39c3 plugins/check_dns-serial --- a/plugins/check_dns-serial Tue Dec 30 00:46:41 2014 +0100 +++ b/plugins/check_dns-serial Tue Dec 30 09:42:07 2014 +0100 @@ -1,4 +1,22 @@ #! /usr/bin/perl +# © 2014 Heiko Schlittermann +=head1 NAME + + check_dns-serial - check the dns serial number from multiple sources + +=head1 SYNOPSIS + + check_dns-serial [options] DOMAINS + +=head1 DESCRIPTION + +B is designed as a Icinga/Nagios plugin to verify that +all responsible NS have the same serial number for their zones. + +Domains we are not responsible for are marked as B. + +=cut + use 5.014; use strict; use warnings; @@ -77,7 +95,7 @@ sub main { my @argv = @_; - my $opt_reference = '212.80.235.130'; + my $opt_reference = '127.0.0.1'; my $opt_progress = -t; GetOptionsFromArray( @@ -127,21 +145,13 @@ __END__ -=head1 NAME - - check_dns-serial - check the dns serial number from multiple sources - -=head1 SYNOPSIS - - check_dns-serial [options] DOMAINS - =head1 OPTIONS =over =item B<--reference>=I
-The address of the reference server for our own domains (default: 212.80.235.130) +The address of the reference server for our own domains (default: 127.0.0.1) =item B<--progress>