Closed richardgirges closed 7 years ago
@richardgirges since this pertains to using Spartan + Mesos-DNS + DC/OS, let's discuss at dcosjira.atlassian.net, or maybe even better to start: users@dcos.io / https://dcos.io/community/
@richardgirges while I'm here, Spartan only binds to its special IPs on agent nodes in 1.8.7. If you bind to a specific internal/external IP in "listener", you should be able to get this going.
Let us know if this works for you. If not, happy to continue the discussion as described above.
@alberts apologies for the late response. Your solution worked, all I had to do was bind to the internal IP in "listener" and everything was all good from there. Thanks!
What we're trying to do
We're trying to setup mesos-dns inside of our DC/OS cluster to setup a custom top-level domain for our DC/OS services.
For instance, this service in our DC/OS cluster: foo.marathon.mesos:8080
Should be accessible to non-DC/OS services like so: foo.marathon.mesos.steelhouse.com:8080
This document actually got us all the way there: https://docs.mesosphere.com/1.8/usage/service-discovery/mesos-dns/custom-domain-service-discovery/
mesos-dns-ext config file
mesos-dns-ext service definition file
Zone file entries on our DNS provider, Dynect
The problem
Due to
dcos-spartan.service
running on each DC/OS agent node, the mesos-dns-ext service fails to start; mesos-dns-ext can't bind to TCP port 53 sincedcos-spartan.service
is using port 53.Are there any other solutions to getting external DNS names working for DC/OS that I may be missing?