d2iq-archive / mesos-dns

DNS-based service discovery for Mesos.
https://mesosphere.github.com/mesos-dns
Apache License 2.0
483 stars 137 forks source link

mesos-DNS #528

Closed SrinivReddy closed 6 years ago

SrinivReddy commented 6 years ago

dig nginx.marathon.mesos when try this it showing container ips not showing slave ips where containers was deployed...

jdef commented 6 years ago

You probably want to change the default value of IPSources in your config. See https://github.com/mesosphere/mesos-dns/blob/ca483fa2f6b6f8ea5707449abbf065f8946bcb82/docs/docs/configuration-parameters.md#L110

SrinivReddy commented 6 years ago

hey @jdef thnx for your response, IPSources default value is ["netinfo", "mesos", "host"] other than netinfo, what are possible values we can prefer...?

SrinivReddy commented 6 years ago

@jdef So I have to change the order of IPSources?

jdef commented 6 years ago

Yes, try putting "hosts" first

On Fri, Sep 28, 2018 at 10:16 AM devops083 notifications@github.com wrote:

@jdef https://github.com/jdef So I have to change the order of IPSources?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mesosphere/mesos-dns/issues/528#issuecomment-425449679, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPVLA2tXr4UEfoyawB9pzwd1yvoN0DLks5ufi81gaJpZM4W-c4Q .

jdef commented 6 years ago

oops, I mean "host"

On Fri, Sep 28, 2018 at 10:17 AM James DeFelice james@mesosphere.io wrote:

Yes, try putting "hosts" first

On Fri, Sep 28, 2018 at 10:16 AM devops083 notifications@github.com wrote:

@jdef https://github.com/jdef So I have to change the order of IPSources?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mesosphere/mesos-dns/issues/528#issuecomment-425449679, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPVLA2tXr4UEfoyawB9pzwd1yvoN0DLks5ufi81gaJpZM4W-c4Q .

SrinivReddy commented 6 years ago

@jdef Its working thanks a lot :)