[Dnsmasq-discuss] Logging NXDOMAIN responses when --no-negcache is enabled

2020-09-28 Thread Nicholas Mu
Hi, I have a use case where I'd like to log queries (--log-queries) and disable negative caching (--no-negcache). One issue I found is that when using --no-negcache, dnsmasq no longer logs NXDomain responses. Digging through the code, it looks like as part of the dns cache insertion we will log

Re: [Dnsmasq-discuss] [Patch] Logging NXDOMAIN responses when --no-negcache is enabled

2020-11-06 Thread Nicholas Mu
Hi, Attached a patch for the described issue. Thanks, Nick On Mon, Sep 28, 2020 at 1:25 PM Nicholas Mu wrote: > Hi, > > I have a use case where I'd like to log queries (--log-queries) and > disable negative caching (--no-negcache). One issue I found is that when > usin

Re: [Dnsmasq-discuss] [Patch] Logging NXDOMAIN responses when --no-negcache is enabled

2021-05-05 Thread Nicholas Mu
Hi bumping this thread, still wondering if this is something that could be supported or I should look for some alternative solution. Thanks, Nick On Fri, Nov 6, 2020 at 3:35 PM Nicholas Mu wrote: > Hi, > > Attached a patch for the described issue. > > Thanks, > Nick >

[Dnsmasq-discuss] Client retries broken in 2.84

2021-02-15 Thread Nicholas Mu
Hi, I noticed a low level increase in DNS errors after upgrading to 2.84. After doing some packet diving, it seems that retries behave differently in the new version. For my testing, I'm using dnspython but I believe this issue would affect any client that uses different source ports and query

Re: [Dnsmasq-discuss] Client retries broken in 2.84

2021-02-22 Thread Nicholas Mu
on that path for all retries. In general, we find better DNS availability when SP varies across retries and we can traverse different paths on the network. Wondering if you had any thoughts on this? Thanks, Nick On Wed, Feb 17, 2021 at 4:03 PM Simon Kelley wrote: > On 16/02/2021 00:42, Nicholas