# 1.8.x Resolvers not working when multiple backend servers share the same hostname \\ IP?

**URL:** <https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543>\
**Category:** Help!\
**Created:** [May 29, 2018, 1:22pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543 "2018-05-29T13:22:55Z")\
**Posts on this page:** 18\
**Page:** 2

<div class="post-metadata">

**Author:** ![Baptiste](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Baptiste](https://discourse.haproxy.org/u/Baptiste)\
**Post date:** [July 12, 2018, 2:52pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/21 "2018-07-12T14:52:19Z")

</div>

I double checked it and it works well, as expected with server, default-server and server-template.

Note that I’m going to push those patches on the ML this afternoon (europe time)

---

<div class="post-metadata">

**Author:** ![mustafa.yildirim](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mustafa.yildirim](https://discourse.haproxy.org/u/mustafa.yildirim)\
**Post date:** [July 16, 2018, 1:52pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/22 "2018-07-16T13:52:09Z")

</div>

Hi @Baptiste,

I tried. It is working now.

Can you add this patch to Haproxy-1.8 ?

Thank you.

---

<div class="post-metadata">

**Author:** ![Ryuzaki](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ryuzaki](https://discourse.haproxy.org/u/Ryuzaki)\
**Post date:** [July 17, 2018, 2:24pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/23 "2018-07-17T14:24:22Z")

</div>

Awesome!

What version number will this be in?

Cheers,  
R.

---

<div class="post-metadata">

**Author:** ![mustafa.yildirim](https://avatars.discourse-cdn.com/v4/letter/m/e19adc/32.png) [@mustafa.yildirim](https://discourse.haproxy.org/u/mustafa.yildirim)\
**Post date:** [July 17, 2018, 6:58pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/24 "2018-07-17T18:58:43Z")

</div>

1.8.12 seems ok.

I tried on 1.8.12 version

---

<div class="post-metadata">

**Author:** ![Ryuzaki](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ryuzaki](https://discourse.haproxy.org/u/Ryuzaki)\
**Post date:** [August 2, 2018, 9:26am UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/25 "2018-08-02T09:26:38Z")

</div>

Hey

I meant which release of HAProxy will have this feature released?

Cheers,  
R.

---

<div class="post-metadata">

**Author:** ![Baptiste](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Baptiste](https://discourse.haproxy.org/u/Baptiste)\
**Post date:** [August 5, 2018, 5:50pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/26 "2018-08-05T17:50:51Z")

</div>

Hi,

Well, this is a new “feature” and we’re not supposed to backport them.

That said, this one is supposed to fix a regression… I’ll discuss this point with Willy and see what we could do.

Baptiste

---

<div class="post-metadata">

**Author:** ![Ryuzaki](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ryuzaki](https://discourse.haproxy.org/u/Ryuzaki)\
**Post date:** [August 8, 2018, 9:35am UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/27 "2018-08-08T09:35:32Z")

</div>

Ah I see. I misunderstood then thinking it would appear in the next 1.8.x release.

It would be good to see it in 1.8 though as without this 1.8 would never be a viable version for our product.

Cheers,  
R.

---

<div class="post-metadata">

**Author:** ![Baptiste](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@Baptiste](https://discourse.haproxy.org/u/Baptiste)\
**Post date:** [August 8, 2018, 6:03pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/28 "2018-08-08T18:03:11Z")

</div>

Ok I will ask for a backport in 1.8.

---

<div class="post-metadata">

**Author:** ![Ryuzaki](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ryuzaki](https://discourse.haproxy.org/u/Ryuzaki)\
**Post date:** [September 17, 2018, 3:32pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/29 "2018-09-17T15:32:27Z")

</div>

Any further updates on this?

Cheers,  
R,

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [September 17, 2018, 7:09pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/30 "2018-09-17T19:09:09Z")

</div>

It has been backported to v1.8 and will be in the v1.8.14 release, which will be published later this week.

---

<div class="post-metadata">

**Author:** ![Ryuzaki](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ryuzaki](https://discourse.haproxy.org/u/Ryuzaki)\
**Post date:** [September 18, 2018, 8:20am UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/31 "2018-09-18T08:20:47Z")

</div>

Awesome! Many thanks for everything.

---

<div class="post-metadata">

**Author:** ![troyfontaine](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/troyfontaine/32/934_2.png) [@troyfontaine](https://discourse.haproxy.org/u/troyfontaine)\
**Post date:** [October 11, 2018, 2:16pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/32 "2018-10-11T14:16:39Z")

</div>

I attempted to use the flag `resolve-accept-dup-ip` however HAProxy 1.8.14 did not recognize it. The documentation is only up to 1.8.13, did the flag get changed for release @lukastribus ?

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [October 11, 2018, 7:25pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/33 "2018-10-11T19:25:36Z")

</div>

Yeah, the website with the docs is not updated yet, you can checkout `doc/configuration.txt`.

Looks like the option is not `resolve-accept-dup-ip` but `resolve-opts allow-dup-ip` instead:

```
server s1 myapp.example.com:80 check resolve-opts allow-dup-ip

```

[http://git.haproxy.org/?p=haproxy-1.8.git;a=blob;f=doc/configuration.txt;h=580194ec4bd797ab85423b7a669d127bfc4cb1a8;hb=HEAD#l11626](http://git.haproxy.org/?p=haproxy-1.8.git;a=blob;f=doc/configuration.txt;h=580194ec4bd797ab85423b7a669d127bfc4cb1a8;hb=HEAD#l11626)

---

<div class="post-metadata">

**Author:** ![Ryuzaki](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@Ryuzaki](https://discourse.haproxy.org/u/Ryuzaki)\
**Post date:** [October 12, 2018, 9:31am UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/34 "2018-10-12T09:31:40Z")

</div>

> [@lukastribus](#):
>
> resolve-opts allow-dup-ip

That’s worked a treat. I can finally upgrade all my environments to 1.8! Many thanks all!

---

<div class="post-metadata">

**Author:** ![troyfontaine](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.haproxy.org/troyfontaine/32/934_2.png) [@troyfontaine](https://discourse.haproxy.org/u/troyfontaine)\
**Post date:** [October 15, 2018, 11:38pm UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/35 "2018-10-15T23:38:07Z")

</div>

Thanks! That helped a lot!!!

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [October 16, 2018, 9:23am UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/36 "2018-10-16T09:23:45Z")

</div>

Online docs have been updated btw:  
[resolve-opts option](https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#5.2-resolve-opts)

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [August 30, 2019, 7:11am UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/37 "2019-08-30T07:11:58Z")

</div>

Split this topic on August 30, 2019, 7:11am UTC

A post was split to a new topic: [Resolver: howto scale multiple servers](https://discourse.haproxy.org/t/resolver-howto-scale-multiple-servers/4254)

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [August 30, 2019, 7:12am UTC](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543/38 "2019-08-30T07:12:34Z")

</div>

Closed on August 30, 2019, 7:12am UTC



[Previous page](https://discourse.haproxy.org/t/1-8-x-resolvers-not-working-when-multiple-backend-servers-share-the-same-hostname-ip/2543.md?page=1)
