Rather than present connection addresses with IP addresses (of the Swarm nodes, for example), the UI should somehow prompt an admin user to assign a resolvable hostname for that IP address.
A reverse DNS lookup could be attempted, but that mechanism is not very reliable where the containers are run in one hosting provider and domain names managed by another.
So, a human-intervention solution is needed:
One way could be to show a pop-up in the main container listing for server addresses only known with IP address.
There could also be an option to pre-configure IP to host mappings.
Rather than present connection addresses with IP addresses (of the Swarm nodes, for example), the UI should somehow prompt an admin user to assign a resolvable hostname for that IP address.
A reverse DNS lookup could be attempted, but that mechanism is not very reliable where the containers are run in one hosting provider and domain names managed by another.
So, a human-intervention solution is needed:
One way could be to show a pop-up in the main container listing for server addresses only known with IP address.
There could also be an option to pre-configure IP to host mappings.