]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dns: query type change when last record is a CNAME
authorBaptiste Assmann <bedis9@gmail.com>
Mon, 5 Sep 2016 06:38:57 +0000 (08:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Sep 2016 18:01:40 +0000 (20:01 +0200)
commit65ce3f5ee4f010c2fba1126d2315629eacb6568e
tree7ec2ab43bdc1d6d64ca78d3ce38177783fa6dc82
parentc1ce5f358e5d3c435a875a6f5520d3bf146337c0
MINOR: dns: query type change when last record is a CNAME

DNS servers don't return A or AAAA record if the query points to a CNAME
not resolving to the right type.
We know it because the last record of the response is a CNAME. We can
trigger a new query, switching to a new query type, handled by the layer
above.
src/server.c