Let’s talk about technical vs. financial management of a public registered DNS domain. At Realdolmen, the classroom IT-infrastructure has its own dedicated internet connection. With it came the possibility to register a .be domain, our own rdeducation.be test domain. As a responsible for registering entries in this domain, I was trying to find a solution for the inconvenience that our internal IT department was responsible for buying and managing the internet connection and the domain through the Internet Provider’s portal, all with one account they received and knew the password of. Any new entry or change had to be passed on to them, making changes slow(er) and error prone. When configuring our own Office 365 tenant I wanted to be in control of it too, just as I could for the internal DNS zones!
Controlling public DNS zones without the use of the registrars website and without having to manage a public accessible DNS server? Azure DNS!
- You own a Public DNS domain registered with a internet provider.
- Create the DNS zone in the Azure portal.
- One time configuration: change the Name Servers at the provider. Technically this is done by pointing the NS records in that domain to the name servers of Azure, the portal nicely displays them after you have created your zone: ns1-01.azure-dns.com, ns2-01.azure-dns.net, ns3-01.azure-dns.org, ns4-01.azure-dns.info.
Add Record sets like A-, Cname-, SRV-, TXT-records as many as you like!
- Optionally: manage access on who can manage records using the users and groups from the Azure Active Directory regulating access to your subscription already. A custom role ‘DNS Contributor‘ can be given to allow that user to manage records.
- Optionally automate management using Azure Powershell.
Azure management in a portal ok, creating stuff with Powershell to easily repeat and speed up the process is beter! For instance, creating a new A-record can be done with the following command:
$RecordSet = New-AzureRmDnsRecordSet -Name "www"
-RecordType A -ResourceGroupName "MyResourceGroup"
-TTL 3600 -ZoneName "myzone.com"
-DnsRecords (New-AzureRmDnsRecordConfig -IPv4Address 18.104.22.168)
Reference: Azure DNS cmdlets
Cost is based on usage (as is almost everything in Azure).
Example: hosting one zone, receiving up to one billion queries / month: 0,76€ (yes that’s all!)
Reference: DNS Azure pricing