How to link services in-host level

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

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

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: