mesos-dns must not forward query for "mesos" domain to upstream dns


In our configuration (3 master nodes, 4 private agent) when the master leader is lost, cluster become unstable.

I know that it is not optimal, but our upstream dns server already has a mesos zone.

The problem may be related to leader.mesos record in mesos dns. It seems that if leader.mesos is not defined in dcos-mesos-dns, it forwards the request to upstream server and if the record is present it receives a wrong ip.

Is it possible to disable query forward from mesos-dns only for his domain ".mesos" ?


Sargun Dhillon