0
votes

I've installed mesos-dns in our cluster and is running ok. We can check the domain of the apps installed in marathon but I would like to know in which host is installed the marathon itself. If I do a dig to marathon.domain is not resolving anything.

According to the doc of mesos-dns: "A records ({framework}.domain) and SRV records (_framework._tcp.{framework}.domain) - for every known Mesos master"

Thanks.

2

2 Answers

0
votes

It's marathon.mesos unless you've used a different TLD. The Marathon scheduler runs on the Master.

0
votes

You can use my mesosdns-resolver bash script to get the endpoint from Mesos DNS.

You can use it like:

mesosdns-resolver.sh -sn <service-name>.marathon.mesos -s <IP_ADDRESS_OF_MESOS_DNS_SERVER>