I have custom domain from 3rd party domain provider. I use Terraform to create Azure resources. I want Front Door to have this custom domain.
When I create Azure DNS zone, it will have new Azure DNS servers each time created. So then I have to go manually to my 3rd party domain provider and update DNS servers.
Im currently developing a web service and quite often destroying / recreating resources via Terraform. Obviously I cant go each time manually to my 3rd party domain provider and keep updating new DNS servers.
Im unsure what is a good approach here so that I wouldnt have to update DNS servers all the time or at least do them automatically.
Would it be reasonable to create a Azure DNS zone outside of other Terraform created resources, so that I create and configure Azure DNS Zone resource once and it stays operational all the time?
Or if possible, maybe use my 3rd party provider API to automatically update my custom domain DNS servers via code, havent chekced if that is possible.
Or is there some other option?