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

Simon Kelley simon at thekelleys.org.uk
Fri Mar 22 15:29:04 GMT 2019


Could you give more details on exactly how you're testing this?
Whereever that error is coming from, it's not from dnsmasq, which
doesn't use the resolver library at all.


Simon.


On 20/03/2019 14:59, Philippe Lamhaut wrote:
> 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:            30
> Additional RRs:          31
> 
> When the response is bigger than that the ns_initparse() function fails
> with "Message too long" error.
> 
> Appreciate any help to understand where is the bottleneck and if
> something can be do to support bigger responses.
> 
> Thanks,
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 





More information about the Dnsmasq-discuss mailing list