Install and Manage Windows DNS Server

45 minutes
  • 5 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will start at the beginning and learn how to create an environment to explore networking. First, we will create a virtual machine and a couple of networks. Then we will explore how to access our virtual network, manage our environment by installing tools, renaming resources, installing a DNS server role, creating a forward lookup zone, and add an A record.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create Two Virtual Machines

For this first objective, I want to get you comfortable building a couple of virtual machines for use in networking labs and exploration.

1) Create a virtual machine in the West US region.
1) The name should be inner-vm .
2) The image should be Windows Server 2022 Datacenter: Azure Edition – Gen2.
3) The VM size should be B2s.
4) Create a new virtual network named internal-vnet.
5) Basic NIC is ok.
6) You do need RDP opened as an inbound port.

2) Create a second virtual machine in the West US region.
1) The name should be inner-vm-adm.
2) The image should be Windows Server 2022 Datacenter: Azure Edition – Gen2.
3) The VM size should be B2s.
4) Select the virtual network named internal-vnet.
5) Basic NIC is ok.
6) You do need RDP opened as an inbound port.

Access the inner-vm and Install Remote Server Administration Tools

In this objective, you should access the server manager in the virtual machine you just created using RDP access through a tool such as Microsoft Remote Desktop.

1) Install remote server administration tools through Server Manager.
2) Rename the computer to inner-vm-dns01.

Create a Forward Lookup Zone

Next, we will create a new Primary Forward Lookup Zone for our domain SandyNetworking01.com. We do not need dynamic updates.

Create an A Record for our Forward Lookup Zone

We will now create an A record for our Forward Lookup Zone.

  1. Use inner-vm-dns01 as the server name and enter in the appropriate IP address.
Configure TCP/IPv4 to Use inner-server Address

In this last objective, we will log in to our inner-vm-adm VM and configure TCP/IPv4 to point at the inner-server address.

We will finish by resolving the newly created DNS server with the Resolve-DNSName inner-vm-dns01.sandynetworking01.com Powershell command.

Additional Resources

Scenario

Welcome to Fiji! Our company, Sand, Sun, and Oddly Networking, Inc., is a global chain of luxury hotels that specializes in tropic locations. Given the move to remote working, they have recently been upgrading their existing IT environment and need help creating a Windows DNS server. In this hands-on lab, you will create two DNS servers, one perimeter network and one internal network, and then perform some basic management.

In this lab, you will:

Prepare the Environment: 1) Create 2 virtual machines 2) Create a virtual network

Install and Manage Windows DNS Server: 4) Create an internal network utilizing the desktop experience option 5) Enable remote server admin tools 6) Rename a computer resource 7) Install DNS server role 8) Create a forward lookup zone 9) Create an A record

Lab Environment Requirements

In this lab, you will be working with Azure Machine Learning. In order to use it, it's necessary to keep the same Azure lab credentials. If the lab times out, make sure to close out Azure Machine Learning and start from scratch.

If you get stuck, feel free to check out the lab objectives or the solution video. Good luck!


WARNING: Be Prepared for UI Changes

Given the fluid nature of Microsoft's cloud tools, you may experience user interface (UI) changes that were made following the development of this hands-on lab that do not match up with the lab instructions. When any such changes are brought to our attention, we will attempt to update the content accordingly. However, if changes occur, you will have to adapt to the changes and work through them in the hands-on labs as needed.

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?