Turned out I had to disable systemd-resolved (ubuntu)
https://support.tools/post/how-to-disable-systemd-resolved/
With it on I could only get the A record and not all the other records with DNS_ANY or ALL
Disable the systemd-resolved service
sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved
Remove the remove the existing /etc/resolv.conf file, which is currently a symbolic link to /run/systemd/resolve/stub-resolv.conf
sudo rm /etc/resolv.conf
Create a new static resolv.conf
echo 'nameserver 1.1.1.1' >> /etc/resolv.conf
echo 'nameserver 1.0.0.1' >> /etc/resolv.conf