Report this

What is the reason for this report?

How to ping a private host within a private network by hostname and NOT private IP address

Posted on October 7, 2016

Hi,

I have created a Docker Swarm (private network) - complete with H/A & Im at the stage of setting up TLS…however the nodes must recognise each other from hostname and not ipaddress.

When I try to ping either of the 7 nodes within the private network using the hostname, it does not work, however I can ping with the private ip address.

I did try to set up a DNS - however this did not resolve my issue.

Thank you and look forward to any suggestions that may lead me to a solution.

Del

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.