After configuring MAAS with two region/rack controllers, everything works as expected but the list of DNS servers specified in a subnet is merged with the list of the IPs of all rack controllers.
For example:
- controller 1 - 192.168.0.1
- controller 2 - 192.168.0.2
- VIP - 192.168.0.3
- subnet’s DNS servers: 192.168.0.3,8.8.8.8
After deploying, the servers will have all 4 IP’s in random order specified as DNS servers in resolv.conf
This creates a problem in case either controller 1 or 2 go down and the server has their primary IPs configured as the current DNS server. The servers will rely on DNS timeouts to switch to the next server and I would like to avoid that because they could either use the VIP or the external DNS server and never experience issues.
Is there a way to force MAAS to not add all the controller’s IPs to the DNS list in DHCP?