]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: dns: first DNS response packet not matching queried hostname may lead...
authorBaptiste Assmann <bedis9@gmail.com>
Wed, 28 Oct 2015 01:03:32 +0000 (02:03 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Oct 2015 11:38:14 +0000 (12:38 +0100)
commitfad0318c74257ce5deb7c68f68ca37cdf61cc9a9
tree9354120e4d70de66ce3445fc52e2c8c9b3137b3e
parentf2dd5e4159bd055030cce6c6f4fe7f8988a74e2c
BUG/MAJOR: dns: first DNS response packet not matching queried hostname may lead to a loop

The status DNS_UPD_NAME_ERROR returned by dns_get_ip_from_response and
which means the queried name can't be found in the response was
improperly processed (fell into the default case).
This lead to a loop where HAProxy simply resend a new query as soon as
it got a response for this status and in the only case where such type
of response is the very first one received by the process.

This should be backported into 1.6 branch
src/server.c