# How to link services in-host level

**URL:** <https://forums.suse.com/t/how-to-link-services-in-host-level/877>\
**Category:** Rancher 1.x\
**Created:** [November 5, 2015, 4:06pm UTC](https://forums.suse.com/t/how-to-link-services-in-host-level/877 "2015-11-05T16:06:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndelitski](https://avatars.discourse-cdn.com/v4/letter/n/f04885/32.png) [@ndelitski](https://forums.suse.com/u/ndelitski)\
**Post date:** [November 5, 2015, 4:06pm UTC](https://forums.suse.com/t/how-to-link-services-in-host-level/877/1 "2015-11-05T16:06:11Z")

</div>

I have a purely horizontal infrastructure where every service should deploy it unit on every host with specific label, how could i link containers on the host-level rather than on service-level? By service level i mean that rancher creates DNS entry for example frontend: [“frontend-container-1-ip”, “frontend-container-2-ip”, “frontend-container-3-ip”]. I would like to link frontend\_1 to backend\_1, frontend\_2 to backend\_2 and etc

---

<div class="post-metadata">

**Author:** ![ndelitski](https://avatars.discourse-cdn.com/v4/letter/n/f04885/32.png) [@ndelitski](https://forums.suse.com/u/ndelitski)\
**Post date:** [November 5, 2015, 4:34pm UTC](https://forums.suse.com/t/how-to-link-services-in-host-level/877/2 "2015-11-05T16:34:17Z")

</div>

in AWS ecs links are by default host-levelhttp://docs.aws.amazon.com/AmazonECS/latest/developerguide/application\_architecture.html

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [November 18, 2015, 10:22pm UTC](https://forums.suse.com/t/how-to-link-services-in-host-level/877/3 "2015-11-18T22:22:34Z")

</div>

We don’t allow linking on host-level. I am not sure if it will help your setup, but we have updated our internal DNS in our latest release.

Please read more about the enhancements in the issue:

> <https://github.com/rancher/rancher/issues/2628>
>
> To be more aligned with docker 1.9 networking model, we should do the following for our Rancher internal DNS:
> service is discoverable...

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [January 8, 2016, 6:07pm UTC](https://forums.suse.com/t/how-to-link-services-in-host-level/877/4 "2016-01-08T18:07:40Z")

</div>

Closed on January 8, 2016, 6:07pm UTC


