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 anythi

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 in

[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 (e1234.a

[Dnsmasq-discuss] Parsing limitation for big dns query responses in tcp

2019-03-20 Thread Philippe Lamhaut
Hello, I am using dnsmasq version 2.80 as dns client in an application. Testing different size of dns query responses in tcp. The biggest response that is properly parsed by the application has the following specifications: dns response size: 2049 tcp PDU size: 2051 Answers RRs: