logs.cgi/log.dat: Replace DNS logging in favour of knot-resolver

Message ID 20260524132827.5629-1-stefan.schantl@ipfire.org
State New
Headers
Series logs.cgi/log.dat: Replace DNS logging in favour of knot-resolver |

Commit Message

Stefan Schantl 24 May 2026, 1:28 p.m. UTC
Fixes #13981

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 html/cgi-bin/logs.cgi/log.dat | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

diff --git a/html/cgi-bin/logs.cgi/log.dat b/html/cgi-bin/logs.cgi/log.dat
index 4370b1bf3..6c74dbcfd 100644
--- a/html/cgi-bin/logs.cgi/log.dat
+++ b/html/cgi-bin/logs.cgi/log.dat
@@ -65,6 +65,7 @@  my %sections = (
         'ipfire' => '(ipfire: )',
         'ipsec' => '(ipsec_[\w_]+: |pluto\[.*\]: |charon: |vpnwatch: )',
         'kernel' => '(kernel: (?!DROP_))',
+	'knot-resolver' => '(knot_resolver.*: |supervisord: |kresd\[.*\]: )',
         'monit' => '(monit\[.*?\]: )',
         'ntp' => '(ntpd(?:ate)?\[.*\]: )',
         'nut' => '(upsmon\[.*?\]: )',
@@ -76,7 +77,6 @@  my %sections = (
         'suricata' => '(suricata: )',
         'squid' => '(squid\[.*\]: |squid: )',
         'ssh' => '(sshd(?:\(.*\))?\[.*\]: |sshd-session(?:\(.*\))?\[.*\]:)',
-        'unbound' => '(unbound: \[.*?\])(.*:.*$)',
         'urlfilter bl' => '(installpackage\[urlfilter\]: )',
         'wireless' => '(hostapd:|kernel: ath.*:|kernel: wifi[0-9]:)',
 		'zabbix_agentd' => '(zabbix_agentd\[.*?\]: )'
@@ -100,6 +100,7 @@  my %trsections = (
         'ipfire' => 'IPFire',
         'ipsec' => 'IPSec',
         'kernel' => "$Lang::tr{'kernel'}",
+	'knot-resolver' => 'DNS: Knot-Resolver',
         'monit' => 'Monit',
         'ntp' => 'NTP',
         'nut' => 'NUT',
@@ -111,7 +112,6 @@  my %trsections = (
         'suricata' => "$Lang::tr{'intrusion detection'}",
         'squid' => "$Lang::tr{'web proxy'}",
         'ssh' => 'SSH',
-        'unbound' => 'DNS: Unbound',
         'urlfilter bl' => 'URLFilter Blacklist',
         'wireless' => 'Wireless',
 		'zabbix_agentd' => 'Zabbix Agent'