I am not sure if mesos-dns is discontinued. But for the ones still using
it, in some cases it does not register all tasks ip addresses.
The default[2] works, but if you have this setup[1] it will only
register one ip address 192.168.122.140 and not the 2nd. I filed issue a
year ago or so[3]
[3]
https://github.com/mesosphere/mesos-dns/issues/54145
https://issues.apache.org/jira/browse/MESOS-10164
[1]
"network_infos": [
{
"ip_addresses": [
{
"protocol": "IPv4",
"ip_address": "192.168.122.140"
}
]
},
{
"ip_addresses": [
{
"protocol": "IPv4",
"ip_address": "192.168.10.17"
}
],
}
]
[2]
"network_infos": [
{
"ip_addresses": [
{
"protocol": "IPv4",
"ip_address": "12.0.1.2"
},
{
"protocol": "IPv6",
"ip_address": "fd01:b::1:8000:2"
}
],
}
]