Steps to reproduce: 1. Add a resolver section "mydns":
resolvers mydns nameserver dns1 8.8.8.8:53 nameserver dns2 8.8.4.4:53 2. Add the following line to the backend: default-server inter 1000 weight 13 resolvers mydns 3. Query "show stat resolvers mydns" from stats socket Expected result: The mydns resolver is used to resolve the server names. Actual result: The mydns resolver is not used at all This configuration does pass a config check "haproxy -f haproxy.config -c" and there is no error about "resolvers" keyword being not supported in default-server. The "resolve-prefer" option on the other hand seems to be set from the default-server. So why not the "resolvers" as well? Another possible bug: Incorrect default value for resolve-prefer According to the docs, the default value for resolve-prefer should be "IPv4". Looking at the source code i am pretty sure this is not the case and instead this option defaults to IPv6: 1.6. Docs: http://cbonte.github.io/haproxy-dconv/snapshot/configuration-1.6.html#5.2-resolve-prefer 1.6 trunk: http://git.haproxy.org/?p=haproxy.git;a=blob;f=src/server.c;h=503d53ab36fc5688454b53dd0d7e88577df6ca46;hb=HEAD#l1037 Regards, Benji