In the diff, I see only test was added/modified. What were the changes to prevent adding unreachable dns server ips ? This happens in multiple situations:
- multiple subnets, server has ip from subnet A but dns servers are equally added from subnets A, B and C if they are on the same VLAN
- additionally, region controller ips are also added as dns servers.
- Sorting order fairly undefined although there is some sorting.
- End result - dice roll which 4 ips get allocated and if in first three of 4 ips is actually reachable (maas rack, correct vlan, correct subnet).
Final cutoff: from list of X nameservers, only maximum of 3 will end up in resolv.conf
In the diff, I see only test was added/modified. What were the changes to prevent adding unreachable dns server ips ? This happens in multiple situations:
- multiple subnets, server has ip from subnet A but dns servers are equally added from subnets A, B and C if they are on the same VLAN
- additionally, region controller ips are also added as dns servers.
- Sorting order fairly undefined although there is some sorting.
- End result - dice roll which 4 ips get allocated and if in first three of 4 ips is actually reachable (maas rack, correct vlan, correct subnet).
Final cutoff: from list of X nameservers, only maximum of 3 will end up in resolv.conf