Ehteshaam
Ehteshaam

Reputation: 141

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 ?

Upvotes: 0

Views: 397

Answers (2)

Ehteshaam
Ehteshaam

Reputation: 141

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.

Upvotes: 0

Matt Jarvis
Matt Jarvis

Reputation: 11

You need to add them to the resolvers in config.yml

Upvotes: 1

Related Questions