I am having difficulty fetching the DNSResourceRecords using the CLI and API calls. But when I use the UI I see those entries in the DNS tab's Resource Records div.
I am using the following API call.
GET /MAAS/api/2.0/dnsresourcerecords/
I am open to python solutions too