DNS resolver log-queries not working in 25.07
-
I've got
server: log-queries: yes
set as "Custom options" in the DNS Resolver / General Settings configuration page. This worked when I was running 24.11, but I just noticed that it seems to have stopped working when I updated to 25.07. The resolver still functions, but there are no new entries in its log since then. Was this option removed or renamed?
-
@tgl I just gave it a go and it does for me. You can check the Unbound config file, /var/unbound/unbound.conf for it.
Unbound custom options server: log-queries: yes
and that leads to log entries like:
Sep 15 06:59:55 unbound 19041 [19041.0] info 10.99.200.100 nzz.ch A IN
-
@tgl said in DNS resolver log-queries not working in 25.07:
Was this option removed or renamed?
Renamed or removed means you enter a word into the config file that would create a syntax error situation.
unbound wouldn't start at all, or the (custom) config you try to save and apply (!) wouldn't be accepted, so the "shoot in the foot" situation won't happen.This is from the author : latest version :
https://nlnetlabs.nl/documentation/unbound/unbound.conf/ :When adding "log-queries: yes" : like :
and then the Apply at the top of the screen, my log got hail-stormed with :
My advise : don't leave this config option in place longer then strictly needed.
-
You can just set the log level to query info in the Unbound advanced setting tab.