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

2021-08-27 Thread Dominik DL6ER
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/

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

2021-08-27 Thread Dominik DL6ER
Hey Simon, when a client makes a query for a reply type that is not cache-able (i.e., is not one of [A, , SRV, PTR]), the reply is not mentioned at all in the log file. This is because extract_names() calls "continue" on the reply and logging would only have happened in insert_cache(). A notew