ziti-doc
ziti-doc copied to clipboard
how-to use docker with local DNS
We need setup guides illustrating how to stand up docker and have it advertise the machine's hostname/fqdn to clients instead of the default it ships with of "ziti-controller" or "ziti-edge-router" etc
Why the Docker host's hostname? You want apps running in containers to be able to resolve the DNS name of the controller and routers, correct?
One way to approach this is to run a nameserver. Then, the Docker daemon and the Docker host's OS can be configured to use the nameserver.
For reference, this PR added an optional nameserver to the local quickstart. It was pre-configured with the DNS records for the controller. That way I could use the ziti CLI and edge SDKs with ordinary domain names.
Possibly useful for this: https://nip.io/