Hi Francis,
What do you mean by removing srv_prepare_for_resolution ?
Can you tell me exactly what you did, share state file, logs, output of haproxy in debug mode?
I mean, the code works on my laptop with consul as a DNS server.
Looking forward to fixing it!
Baptiste