This is because haproxy does not support IPv6 for backends. It makes no sense to query those addresses only to not use them afterwards.
On Fri, 2014-04-11 at 11:15 +0200, Manuel Bauer wrote: > sorry for what is probably a pretty noob question, but could anyone tell me > why haproxy resolves the hostnames in my config to ipv4 addresses, and not > ipv6? If I run a tcpdump on port 53 during a haproxy restart I can see that > only the A records are being queried. > > However, if I curl one of the URLs manually on that server I see that both A > and AAAA records are queried, and that ipv6 is being used successfully when > making the connection. > > Is there a setting or patch I can use to convince haproxy to use ipv6? > > I use haproxy 1.5-dev22, compiled it with GETADDRINFO=1, and run it on Debian > 7 stable, 32-bit > > Thanks