Implement and Configure Private DNS in Azure

45 minutes
  • 4 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you are working as an Azure network engineer for Big Ben Corporation, a company that specializes in fabricating high-tech watches. You’ve been asked to create a private DNS zone in Azure to allow connectivity to a virtual machine. To do so, you’ll use Azure Private DNS to create a private DNS record to connect to a virtual machine via a domain name.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create a Private DNS Zone

Create a private DNS zone in the same region as the other resources.

Link the Private DNS Zone to the Virtual Network

Once the private DNS zone has been created, link it to the virtual network.

Create a DNS Record Pointing to the Server VM

Create an A record that points to the server virtual machine’s private IPv4 address.

Test DNS Resolution from the User VM to the Server VM

Log in to the user virtual machine via remote desktop with the credentials provided on the lab page and test if you can ping the server virtual machine using its DNS record.

Additional Resources

Lab Setup

Log in to the Azure portal using the credentials provided on the lab page. Be sure to use an incognito or private browser window to ensure you're using the lab account, rather than your own.

Connect to the user-vm virtual machine via remote desktop (either through the Remote Desktop client available on Windows machines or through the Microsoft Remote Desktop application available for Mac machines) using the public IP address and credentials provided on the lab page.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?