[ IoT Edge Azure ] How can containers resolve hostnames on different hosts without DNS server in LAN in nested architecture ?

Galgani, Stefano 205 Reputation points
2023-09-22T11:10:37.29+00:00

Hi all,

I have an industry scenario at the edge side based on Azure IoT edge nested architecture with 2 tiers with parent and child hosts where inside them are working edge runtime and module containers.
I have a LAN without DNS server to resolve host name.

When I try to connect to the Edge container on the leaf, trying to ping parent hostname is not able to reach the parent container, instead when I try with the IP address the container is reached.

My questions are:

How can setup the mapping parent hostname to ip address in the leaf container ?

Where can I setup the mapping to allow to leaf containers to reach the parent container ? (As usual we have done inside file /etc/hosts)

Thanks

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
548 questions
{count} vote