We have found a DNS entry which causes a problem: It has no name value, so from MAAS the whole subdomain resolves to an unwanted IP, while from outside of MAAS it is already configured to resolve correctly. On the region controller:
maas:~$ head -12 /etc/bind/maas/zone.nimbus.pawsey.org.au
; Zone file modified: 2022-10-27 19:11:26.026174.
$TTL 30
@ IN SOA nimbus.pawsey.org.au. nobody.example.com. (
0000986051 ; serial
600 ; Refresh
1800 ; Retry
604800 ; Expire
30 ; NXTTL
)
@ 30 IN NS pawsey.org.au.
30 IN A 146.118.52.233
Notice the space starting the last line - by my reading that is why nimbus.pawsey.org.au
resolves to that IP from MAAS. Externally it resolves correctly from upstream DNS to a different IP. At https:/ā¦/MAAS/r/domain/1 (Name: nimbus.pawsey.org.au
) I see what I think is the erroneous entry, screenshot attached of me trying to delete it.
maas SESSION dnsresources read | grep 146.118.52.233
finds the IP, but it is in an āubuntuā dnsresource
record in another domain pawsey.org.au
which also shows an entry in the web UI. That entry holds a lot of IPs, a few dozen named āubuntuā. I think this is not relevant but am not sure.
$ maas SESSION dnsresource read 1899 | jq '.fqdn'
"ubuntu.pawsey.org.au"
$ maas SESSION dnsresource read 1899 | wc -l
117074
$ maas SESSION dnsresource read 1899 | jq '.ip_addresses | .[].ip' | wc -l
1511
I am left wondering if this snuck in quite some time ago (perhaps in an enlistment gone wrong?) in a previous version of MAAS, and in the current version that particular type of record canāt exist, and canāt be deleted. Do I need to dive into the database and delete something manually to fix this?
May I have some advice on this please?