0
0
Azurecloud~30 mins

Azure DNS basics - Mini Project: Build & Apply

Choose your learning style9 modes available
Azure DNS basics
📖 Scenario: You are setting up a simple website and want to manage its domain name using Azure DNS. This will help direct visitors to your website by translating the domain name into the website's IP address.
🎯 Goal: Build an Azure DNS zone and add a DNS record to point a domain name to an IP address.
📋 What You'll Learn
Create an Azure DNS zone named exactly example.com
Create a variable for the resource group name myResourceGroup
Add an A record named www with IP address 10.1.2.3
Complete the DNS zone configuration with the A record included
💡 Why This Matters
🌍 Real World
Managing domain names and DNS records is essential for directing internet traffic to websites and services.
💼 Career
Cloud engineers and administrators often configure DNS zones and records to ensure users can reach applications reliably.
Progress0 / 4 steps
1
Create the Azure DNS zone
Create an Azure DNS zone resource named dns_zone with the name example.com.
Azure
Need a hint?

Use a dictionary with keys name and type to define the DNS zone.

2
Set the resource group name
Create a variable called resource_group and set it to the string myResourceGroup.
Azure
Need a hint?

Assign the exact string myResourceGroup to the variable resource_group.

3
Add an A record to the DNS zone
Create a dictionary called a_record representing an A record with name set to www and ipv4_address set to 10.1.2.3.
Azure
Need a hint?

Use keys name, type, and ipv4_address in the dictionary.

4
Complete the DNS zone with the A record
Add the a_record inside the dns_zone dictionary under the key records as a list containing the single A record.
Azure
Need a hint?

Add a key records to dns_zone with a list containing a_record.