From 529866b2bb41586342652af19aaca7435ab28c28 Mon Sep 17 00:00:00 2001 From: oukb <5672797+oukb@users.noreply.github.com> Date: Mon, 8 Mar 2021 19:14:28 +0300 Subject: [PATCH] nsd.conf: fix for the current log format New nsd 4.3.5 log format: | [2021-03-05 05:25:14.562] nsd[160800]: info: axfr for example.com. from 192.35.168.32 refused, no acl matches | [2021-03-06 05:24:33.223] nsd[356033]: info: axfr for localhost. from 192.35.168.160 refused, no acl matches | [2021-03-07 05:23:26.641] nsd[547893]: info: axfr for example.com. from 192.35.168.64 refused, no acl matches | [2021-03-08 05:18:54.067] nsd[739606]: info: axfr for example.com. from 192.35.168.32 refused, no acl matches --- config/filter.d/nsd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/filter.d/nsd.conf b/config/filter.d/nsd.conf index bfd99544..9399db23 100644 --- a/config/filter.d/nsd.conf +++ b/config/filter.d/nsd.conf @@ -23,9 +23,9 @@ _daemon = nsd # Values: TEXT failregex = ^%(__prefix_line)sinfo: ratelimit block .* query TYPE255$ - ^%(__prefix_line)sinfo: .* refused, no acl matches\.$ + ^%(__prefix_line)sinfo: .* refused, no acl matches ignoreregex = datepattern = {^LN-BEG}Epoch - {^LN-BEG} \ No newline at end of file + {^LN-BEG}