Hello James Munro,
I could not find a doc for you on this, but as a suggestion, you could export the ARM from the resource on the portal them decompile to bicep.
In the Azure Portal, go to the Resource groups section and select the resource group containing your DNS records. Then export https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-cli
You can then proceed to decompile using:
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/decompile?tabs=azure-cli
This will give you the code you need
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola