Package: logwatch
Version: 7.3.6.cvs20090906-1squeeze1
Severity: normal
The following patch removes many uninteresting warnings from a typical
recursive instance of BIND. It displays a count of two types of EDNS related
error conditions and also ignores "DNS format error" messages.
--- named.orig 2012-02-27 18:07:04.000000000 +1100
+++ /usr/share/logwatch/scripts/services/named 2012-02-28 11:58:16.000000000
+1100
@@ -213,6 +213,7 @@
($ThisLine =~ /.*: unexpected end of input/) or
($ThisLine =~ /too many timeouts resolving '.*' .*: disabling EDNS/) or
($ThisLine =~ /too many timeouts resolving '.*' .*: reducing the
advertised EDNS UDP packet size to .* octets/) or
+ ($ThisLine =~ /DNS format error from/) or
($ThisLine =~ /reloading zones succeeded/)
# too many timeouts resolving 'ns-ext.nrt1.isc.org/AAAA' (in '.'?):
disabling EDNS: 3 Time(s)
) {
@@ -223,6 +224,10 @@
($ThisLine =~ /named startup succeeded/)
) {
$StartNamed++;
+ } elsif ($ThisLine =~ /success resolving .*after disabling EDNS/) {
+ $SuccessAfterDisablingEDNS++;
+ } elsif ($ThisLine =~ /success resolving .*after reducing the advertised
EDNS UDP packet size/) {
+ $SuccessAfterReducingEDNSsize++;
} elsif ( $ThisLine =~ /(reloading nameserver|named reload succeeded)/ ) {
$ReloadNamed++;
} elsif (
@@ -347,6 +352,14 @@
print "Named reloaded: $ReloadNamed Time(s)\n";
}
+if ($SuccessAfterReducingEDNSsize) {
+ print "Success after reducing EDNS packet size
$SuccessAfterReducingEDNSsize Time(s)\n";
+}
+
+if ($SuccessAfterDisablingEDNS) {
+ print "Success after disabling EDNS $SuccessAfterDisablingEDNS Time(s)\n";
+}
+
if ( ( $Detail >= 5 ) and ($ShutdownNamed) ) {
print "Named shutdown: $ShutdownNamed Time(s)\n";
}
-- System Information:
Debian Release: 6.0.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages logwatch depends on:
ii perl 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii postfix [mail-transpor 2.7.1-1+squeeze1 High-performance mail transport ag
Versions of packages logwatch recommends:
pn libdate-manip-perl <none> (no description available)
Versions of packages logwatch suggests:
pn fortune-mod <none> (no description available)
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/logwatch/scripts/services/named (from logwatch
package)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]