Azure DNS - Domains Not Being Found By Public Internet

0 votes

I've written a PowerShell script to create all the A/CNAME/MX records etc. for all my domain names.

It runs against my Azure subscription without an error.

I can go into the config section of my Azure Websites and map those domain names to my websites and it resolves the domains names correctly.

I've set the NamesServers at the registrar to the correct name servers that I'm getting back from

$zone = Get-AzureRmDnsZone –Name –ResourceGroupName DNSRecords
Get-AzureRmDnsRecordSet –Name “@” –RecordType NS –Zone $zone

I can see that the domain names servers have the correct NameServers

But it doesn't work

Even using NSLOOKUP (after switching the server to the Azure DNS Servers)

I run


and it returns

Can't list the domain Existent domain
The DNS server refused to transfer the zone to your computer
If This is incorrect, check the zone transfer security settings for on the DNS

These zones we were resolving throughout the day as I was transferring them one by one to Azure but at some point they stopped working. What am I missing?

#New-AzureRmDnsZone -Name -ResourceGroupName DNSRecords
# A
$rs = New-AzureRmDnsRecordSet -Name "*" -RecordType A -ZoneName "" -ResourceGroupName "DNSRecords" -Ttl 60 -Overwrite -Force          
Add-AzureRmDnsRecordConfig -RecordSet $rs -Ipv4Address
Set-AzureRmDnsRecordSet -RecordSet $rs -Overwrite


$rs = New-AzureRmDnsRecordSet -Name "awverify" -RecordType "CNAME" -ZoneName "" -ResourceGroupName "DNSRecords" -Ttl 60 -Overwrite -Force
Add-AzureRmDnsRecordConfig -RecordSet $rs -Cname ""
Set-AzureRmDnsRecordSet -RecordSet $rs -Overwrite

$rs = New-AzureRmDnsRecordSet -Name "awverify.www" -RecordType "CNAME" -ZoneName "" -ResourceGroupName "DNSRecords" -Ttl 60 -Overwrite -Force
Add-AzureRmDnsRecordConfig -RecordSet $rs -Cname ""
Set-AzureRmDnsRecordSet -RecordSet $rs -Overwrite

$rs = New-AzureRmDnsRecordSet -Name "www" -RecordType "CNAME" -ZoneName "" -ResourceGroupName "DNSRecords" -Ttl 60 -Overwrite -Force
Add-AzureRmDnsRecordConfig -RecordSet $rs -Cname ""
Set-AzureRmDnsRecordSet -RecordSet $rs -Overwrite
Apr 4 in Azure by Edureka
• 12,390 points

1 answer to this question.

0 votes

Try one or more of the following methods to overcome common problems:

  1. Examine the Azure DNS audit logs to discover the cause of the issue.
  2. Each DNS zone name inside a resource group must be distinct. To put it another way, two DNS zones with the same name cannot share a resource group. Use a new zone name or a different resource group to see if it helps.
  3. You could notice a mistake. "You have reached or surpassed the subscriber subscription ID's maximum number of zones." Use an alternative Azure subscription, eliminate certain zones, or contact Azure Support to have your subscription limit increased.
  4. The error "The zone 'zone name' is not accessible" may appear. Because of this problem, Azure DNS was unable to assign name servers for this DNS zone. Try using a different zone name. Or, if you are the domain name owner you can contact Azure support to allocate name servers for you.

answered Apr 4 by Edureka
• 10,880 points

Related Questions In Azure

0 votes
1 answer

Azure Search Synonym Maps not returning expected results

I figured out what was wrong. You ...READ MORE

answered Mar 8 in Azure by Edureka
• 12,390 points
0 votes
1 answer

Azure HD Insight - YARN UI is not showing logs on stderr suddenly

You can try the following: In Ambari, see ...READ MORE

answered Mar 20 in Azure by Edureka
• 12,390 points
0 votes
1 answer

How to use Jsonwebtoken NPM package to verify JWT token issued by Azure AD?

Okay so I have found out the ...READ MORE

answered Mar 29 in Azure by Edureka
• 10,880 points
0 votes
1 answer

Want to make index.html as the default document on my static website in a CDN.

You can use Premium CDN. If you purchased the ...READ MORE

answered Jul 2, 2019 in Azure by Perry
• 17,100 points
+1 vote
2 answers
0 votes
1 answer

What OS is Jenkins installed on Azure Virtual Machine?

Under Managed Jenkins there's a section called ...READ MORE

answered Apr 4, 2018 in DevOps & Agile by DareDev
• 6,890 points
+1 vote
4 answers

Where to find the Microsoft.IdentityModel dll?

I finally found this Nuget package:, which ...READ MORE

answered Oct 23, 2018 in Azure by Trisha
0 votes
1 answer

Azure Search synonyms not reflecting in results

You most certainly should. If the words ...READ MORE

answered Mar 2 in Azure by Edureka
• 10,880 points
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP