From 86af68d16fc38e6ca9d9fef663cd9d970849225c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 4 Apr 2019 09:06:31 +0200 Subject: named: silence more stuff --- named | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/named b/named index 183e5a8..9d0c8e4 100644 --- a/named +++ b/named @@ -81,7 +81,7 @@ while (defined($ThisLine = )) { # Be sure to catch: transfer of 'zone' from IP#53: failed to connect: timed out # not exact just triggers a full transfer ($ThisLine =~ /^(client \S+ [0-9.]+#\d+ \(\S+\): )?transfer of .*: (IXFR|AXFR(|-style IXFR) (started|ended)|connected using|Transfer completed|failed while receiving responses: not exact)/) or - ($ThisLine =~ /^transfer of \S+ from \S+: (Transfer status: (timed out|host unreachable|connection reset|connection refused|success|REFUSED|SERVFAIL|up to date)|resetting|giving up: timed out)/) or + ($ThisLine =~ /^transfer of \S+ from \S+: (Transfer status: (timed out|host unreachable|connection reset|connection refused|success|REFUSED|SERVFAIL|up to date|end of file)|resetting|giving up: timed out)/) or ($ThisLine =~ /using \d+ CPU/) or ($ThisLine =~ /loading configuration/) or ($ThisLine =~ /command channel listening/) or @@ -137,6 +137,7 @@ while (defined($ThisLine = )) { ($ThisLine =~ /using default UDP\/IPv[46] port range: \[[0-9]*, [0-9]*\]/) or ($ThisLine =~ /using [[:digit:]]+ UDP listener per interface/) or ($ThisLine =~ /^flush tree \S+ in cache view \S+: success$/) or + ($ThisLine =~ /^flushing caches in all views succeeded$/) or ($ThisLine =~ /^[^:]+: sending trust-anchor-telemetry query '[^']+'$/) or ($ThisLine =~ /set up managed keys zone/) or ($ThisLine =~ /^managed-keys-zone: Key \d+ for zone \S+ acceptance timer complete: key now trusted$/) or @@ -178,7 +179,7 @@ while (defined($ThisLine = )) { ($ThisLine =~ /dhcpupdate: forwarding update for zone/) or ($ThisLine =~ /forwarded dynamic update: master [^ ]* returned: (NXRRSET|YXDOMAIN)/) or ($ThisLine =~ /using .* as GeoIP directory/) or - ($ThisLine =~ /GEO-.* Build/) or + ($ThisLine =~ /GEO-.* Bu(ild)?/) or ($ThisLine =~ /initializing GeoIP /) or # the following seems okay since it says "success" ($ThisLine =~ /managed-keys-zone .*: No DNSKEY RRSIGs found for '.*': success/) or @@ -202,6 +203,7 @@ while (defined($ThisLine = )) { ($ThisLine =~ /resolver priming query complete/) or ($ThisLine =~ /client .* signer .* approved/) or ($ThisLine =~ /stop limiting/) or + ($ThisLine =~ /^dns64 reverse zone: \S+\.arpa\.$/) or # ignore this line because the following line describes the error ($ThisLine =~ /unexpected error/) ) { @@ -306,7 +308,7 @@ while (defined($ThisLine = )) { $JournalFail{$Zone}++; } elsif ( ($Channel,$Reason) = ($ThisLine =~ /couldn't add command channel (.+#\d+): (.*)$/)) { $ChannelAddFail{$Channel}{$Reason}++; - } elsif ( ($Zone,$Host,$Reason) = ($ThisLine =~ /zone ([^ ]*): refresh: failure trying master ([^ ]*)#\d+: (.*)/) ) { + } elsif ( ($Zone,$Host,$dummy,$Reason) = ($ThisLine =~ /zone ([^ ]*): refresh: failure trying master ([^ ]*)#\d+( \(source \S+\))?: (.*)/) ) { $MasterFailure{"$Zone from $Host"}{$Reason}++; } elsif ( ($Zone,undef,$Host,$Reason) = ($ThisLine =~ /^zone ([^ ]*): (got_transfer_quota|refresh): skipping zone transfer as master ([^ ]*)#\d+ \(source [0-9.:]+#\d+\) is (unreachable \(cached\))$/) ) { $MasterFailure{"$Zone from $Host"}{$Reason}++; -- cgit v1.2.3-70-g09d2