Second server-template in one backend block is not working

Hi!

I would like to split outgoing tcp connection via several network cards but second server-template in single backend section doesn’t seems like working. template generate servers but they are in “resolution” state. if I change order of server-template statements - only first is working correctly

backend SRV
  balance leastconn
  http-reuse aggressive
  http-check expect status 200
  option httpchk GET /health
  
  server-template SRV-B- 50-99 srv.org:8080 resolvers awsdns resolve-prefer ipv4 check inter 2s downinter 10s fall 5 weight 1 source 10.0.0.2

  server-template SRV-A- 49 srv.org:8080 resolvers awsdns resolve-prefer ipv4 check inter 2s downinter 10s fall 5 weight 1 source 10.0.0.1

tested on 3.2.2 and 3.2.4

I’ve found option resolve-opts allow-dup-ip but it not working exactly how I want. It add dups to every server template

It would only work if the DNS server provisions the entries twice, but theoretically, it should work

alternatively you could define 2 distinct backends with the same server-template (except the source parameter) and distribute requests over the two backends