I'm using arm templates for deployments (preferable bicep). Is there a simple way to add my public ip resource to preexisting DNS zone? Public IP has property named dnsSettings, but it seems that it only can set DNS pointing to azure default domain publicipname.eastus.cloudapp.azure.com, instead of publicipname.customdomain.com.
resource publicIp 'Microsoft.Network/publicIPAddresses@2020-11-01' = {
location: rg_location
name: 'pip-example'
tags: tags_list
sku: {
name: 'Standard'
tier: 'Regional'
}
properties:{
dnsSettings:{
domainNameLabel: 'publicipname'
fqdn: 'publicipname.customdomain.com'
}
publicIPAllocationMethod: 'Static'
}
}