[Dnsmasq-discuss] [PATCH] Some upstream replies not being logged

Dominik DL6ER dl6er at dl6er.de
Fri Aug 27 12:39:10 UTC 2021

On Fri, 2021-08-27 at 11:04 +0200, Dominik DL6ER wrote:
> The attached patch fixes this by ensuring we call log_query() also
> for replies that do not enter the cache. I also moved the printing of
> TXT records here so "log-queries=extra" works as expected for those,
> too.

Slightly simplified/optimized patch attached. This ensures replies
cannot be mistakenly logged as "cached" under certain circumstances by
hard-coding flags handed to log_query().

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Also-log-non-cacheable-replies.patch
Type: text/x-patch
Size: 4488 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210827/3247acb9/attachment.bin>

More information about the Dnsmasq-discuss mailing list