We’ve still not quite managed to get to the root of this issue, I’m not.a bind expert and the generated files ‘look fine to me’ but we are still experiencing issues with dns lookups.
are you using systemd-resolved? Perhaps the DHCP has kicked in and reset resolved to use the built in server instead of MAAS’ named? Easy way to tell is to look to see who is listening on port 53.
I have two rack-controllers on my local network, and occasionally I see that one of them has stopped resolving what appear to be ‘internal’ domains in MAAS. I guess that confirms an issue, I have never managed to debug it beyond restarting the affected controller.
Thanks for posting, I was starting to think I was going nuts.
Oddly if the system is left alone for a few days, it’s starts to resolve again.
I’m starting to think it’s something to do with the serial’s on the SOA sections, but that’s just a hunch at this time.
The problem is that if the maas-internal address does not resolve, new machines can’t be deployed as they use the mass-internal domain to get packages etc.
I’ll keep working and see if I can get a complete picture of what’s going on…
We’ve not completely got to the bottom of this as yet, however we’ve found that restarting the mass supervisor seems to at least get resolution working.
systemctl restart snap.maas.supervisor
Out of interest, are you running maas on 18.04 or 20.02 ?
We are running MAAS on 18.04 from apt package not from snap. Huh we don’t have this service:
maas-dhcpd6.service maas-http.service maas-rackd.service maas-syslog.service
maas-dhcpd.service maas-proxy.service maas-regiond.service
I found my problem. We use external DHCP servers and there are still old deprecated DNS ip’s I change with correct ones and everything start working as usual.
I don’t think the issue is external DNS or DHCP; I have this occasionally and I don’;t have either of those. MAAS handles all DNS and DHCP on my networks, so it has full responsibility for the issue.