Edit DNS records

I have a default DNS zone setup for “lab.maas” for subnet

However, if I spin up a machine with two interfaces where one is on the default subnet and the other on a different vlan; MaaS put the wrong IP in the default zone.

Host dellt30 has a 192 address, but MaaS put the 10 address in the 192 zone instead

Maybe I’m using the wrong API, but I can’t seem to dump the records either…

Is it possible to edit DNS zone records? I tried to edit the zone files and incremented the SOA serial, bounced bind and that just reverted back…

Sorry for the delayed response.

Have you seen the docs on how to Set a DNS server for a subnet? From the CLI you also probably want to play around with maas $PROFILE dnsresources and not just the records.