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 activistmanager.info –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

ls x.com

and it returns

Can't list the domain x.com:Non Existent domain
The DNS server refused to transfer the zone X.com to your computer
If This is incorrect, check the zone transfer security settings for X.com 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?

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

# CNAME

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

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

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

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
197 views
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
98 views
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
1,315 views
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
419 views
+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
294 views
+1 vote
4 answers

Where to find the Microsoft.IdentityModel dll?

I finally found this Nuget package: https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM, which ...READ MORE

answered Oct 23, 2018 in Azure by Trisha
5,538 views
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
109 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP