resolvemesospheredcos

DCOS Adding DNS entries in resolv.conf


We have setup DNS Cnames in our pre prod environment. These DNS entries in resolv.conf are getting overwritten by dcos Component 'Generate resolv.conf'. Since we need entries from dcos in addition to our local cname entries, can you please direct how to add nameserver in resolv.conf via dcos so that it does not get overwritten ?


Solution

  • Even though it is not reflected in /etc/resolv.conf, the configuration mentioned here https://mesosphere.github.io/mesos-dns/docs/configuration-parameters.html works.