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.
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?
Hi @gregoryo2017,
To make sure I understand the intended setup and issue, you have a domain (DNS zone with regards to BIND) pawsey.org.au, and then you have a delegated zone of nimbus.pawsey.org.au, are either of these the default MAAS domain? And then in one of these , you have an ubuntu.pawset.org.au A record, but then the erroneous empty label record with the same IP?
Additionally, what is that IP tied to? Is it a machine within MAAS? If so, what is the status (i.e is it deployed?)?
I would recommend opening a bug report with these questions addressed there along with what MAAS version you are using, if you can.
Thanks for the message @cgrabowski and apologies for the delay - big migration under way here, nearly done, but itās Christmas time now! I do want to get this sorted out, so will respond as soon as I can.
In short, yes what you said is accurate. Iām not sure about it being a ālabelā record, but in maas domain pawsey.org.au (httā¦/MAAS/r/domain/0) there is a Resource record like so:
ubuntu A (default) 146.118.52.233
Any attempt to change or delete it yields sequence item 0: expected str instance, NoneType found. I canāt find any evidence of a machine with that IP address - nothing from arp or nmap either.
Hi @gregoryo2017, would you be able to provide the requested logs in the bug report? Itās possible this is a validation error, and any related logs around this issue would help shed some light on whether thatās the case.
@gregoryo2017, are you okay closing this one and tracking it via the bug? two open loops means twice the attention, but not necessarily twice the action