Re: [Dnsmasq-discuss] Odd caching behaviour...

2019-04-04 Thread John Robson
Ok, thanks - that makes sense in terms of the 'incomplete' entry being cached. I might set up a couple of dns servers to simulate this at some point - I'm going to want a reproducible setup for our own testing as well... If I can then I'll come back with that log... Actually, maybe I already

Re: [Dnsmasq-discuss] Odd caching behaviour...

2019-04-04 Thread Simon Kelley
On 30/03/2019 08:41, John Robson wrote: > Simon, > > The upstream server is authoritative for the initial domain (being > inside an organisation I don’t think that’s unusual) and the incomplete > (but perfectly valid, I agree) response is taken as complete. The > upstream server does do recursion

Re: [Dnsmasq-discuss] Odd caching behaviour...

2019-03-30 Thread John Robson
Simon, The upstream server is authoritative for the initial domain (being inside an organisation I don’t think that’s unusual) and the incomplete (but perfectly valid, I agree) response is taken as complete. The upstream server does do recursion as well, but when that failed it just returned what

Re: [Dnsmasq-discuss] Odd caching behaviour...

2019-03-29 Thread Simon Kelley
On 21/03/2019 11:01, John Robson wrote: > OK, > > Maybe this does reveal something about the caching... > Which might be expected behaviour, but I am not convinced it's useful... > > Overnight monitoring has shown that the upstream server does > occasionally send back an incomplete (but

Re: [Dnsmasq-discuss] Odd caching behaviour...

2019-03-21 Thread John Robson
OK, Maybe this does reveal something about the caching... Which might be expected behaviour, but I am not convinced it's useful... Overnight monitoring has shown that the upstream server does occasionally send back an incomplete (but perfectly valid) CNAME only response. Mostly I can justify

Re: [Dnsmasq-discuss] Odd caching behaviour...

2019-03-20 Thread John Robson
It is the idea of caching, but not beyond the record TTL surely? And why stop only when I reset another piece of software (whether I do that after 5 minutes or 4 hours). I'm finding that the upstream server is inconsistent in how much information it returns - just occasionally not returning

Re: [Dnsmasq-discuss] Odd caching behaviour...

2019-03-20 Thread Geert Stappers
On Wed, Mar 20, 2019 at 09:00:20PM +, John Robson wrote: > Hi, > > I have a library which I think has a bug, but this bug is affecting DNS > queries, and bringing out some odd behaviour in dnsmasq... > > Program is making a query to resolve an address (foo.bar.com) > A normal query results

[Dnsmasq-discuss] Odd caching behaviour...

2019-03-20 Thread John Robson
Hi, I have a library which I think has a bug, but this bug is affecting DNS queries, and bringing out some odd behaviour in dnsmasq... Program is making a query to resolve an address (foo.bar.com) A normal query results in a CNAME (foo.bar.com.edgekey.net), which results in another CNAME