Hi Conrad,

On Thu, Jun 23, 2016 at 06:49:19PM +0200, Conrad Hoffmann wrote:
> Hi,
> 
> attached is my shot at supporting negotiating UDP message sizes > 512 bytes
> in the Haproxy DNS implementation. The default DNS size of 512 bytes can
> often lead to truncated responses, which are discarded.
> 
> With the attached patch and adding "udp_msg_size 2048" to my resolvers
> section, I can succesfully use a hostname that yields ~100 A records in our
> company network, something that did not work before.
> 
> This was an approach suggested by Baptiste a long time ago, unfortunately I
> got distracted with other things for a while. Nevertheless, I'd also like
> to discuss
> 
> a) whether this is really a sufficient replacement for DNS over TCP support
> b) why truncated responses are immediately discarded, even if they contain
>    one or more records that satisfy the original request
> 
> But such discussion could optionally be moved to a seperate thread.

Thanks for this, it indeed sounds useful and could be even more useful
once we manage to setup a backend using DNS responses. I'm having one
question though : what would be the impact of enabling this all the time,
I mean without the configuration directive ?

willy

Reply via email to