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

Dominik DL6ER dl6er at dl6er.de
Sat Aug 28 21:11:10 UTC 2021


On Fri, 2021-08-27 at 14:39 +0200, Dominik DL6ER wrote:
> 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().

I missed non-cacheable PTR replies. They are handled in a different if-
branch. The attached patch is meant to come on-top of my previously
submitted patch.

Test case:

dig PTR ptr.dns.netmeister.org

Best,
Dominik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Log-non-cacheable-PTR-replies.patch
Type: text/x-patch
Size: 1249 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210828/599e7835/attachment.bin>


More information about the Dnsmasq-discuss mailing list