Windows Server DNS and DHCP Configuration on Azure
Install and configure DNS and DHCP server roles on Windows Server, create lookup zones, configure DHCP scopes, and test name resolution.

Lab overview
DNS and DHCP are foundational network infrastructure services that every Windows Server administrator must understand. DNS (Domain Name System) translates human-friendly domain names into IP addresses, while DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses and network configuration to devices on a network. Properly configuring and managing these services is crucial for ensuring reliable network connectivity and name resolution in any organization.
In this lab, you will configure the DNS Server and DHCP Server roles using Powershell commands. You will create forward and reverse DNS lookup zones, add various DNS resource records including A, CNAME, MX, and PTR records, configure a DHCP scope with address ranges, exclusions, reservations, and lease duration settings, and test name resolution using nslookup and PowerShell DNS cmdlets.
Objectives
Upon completing this intermediate level lab, you will be able to:
- Install the DNS Server and DHCP Server roles on a pre-provisioned Windows Server VM using PowerShell
- Create forward and reverse DNS lookup zones and configure DNS resource records (A, CNAME, MX, PTR)
- Configure a DHCP scope with address ranges, exclusions, reservations, and lease duration settings
- Test DNS name resolution using nslookup and PowerShell DNS cmdlets
- Verify DHCP functionality using ipconfig and PowerShell DHCP cmdlets
- Understand Active Directory DNS integration concepts
Who is this lab for?
This lab is designed for:
- Windows Server administration students studying network infrastructure services, particularly those enrolled in BCIT ACIT 3420 or equivalent courses
- IT professionals preparing for roles that require DNS and DHCP management on Windows Server
- Cloud engineers who need to understand Windows Server networking roles for hybrid and cloud-hosted environments
Verified against your live environment
An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed, not multiple choice, real-world proficiency.
More labs like this
Configure Custom DNS Settings for an Azure Virtual Network
Configure custom DNS servers for an Azure VNet, apply DNS settings at the VNet and NIC level, and verify name resolution between virtual machines
Set Up a Domain Controller in Azure Using Virtual Machines
Promote two Windows Server VMs in an availability set to domain controllers, connecting through Azure Bastion after each reboot.
Creating Your First Virtual Machine in Azure Cloud
Create a Windows Server virtual machine in the Azure Portal, connect to it using RDP, and verify it is working with PowerShell.
Related reading
Environment
Every lab includes
- Real environment, pre-credentialed
- Automated checks on every step
- Isolated sandbox, auto cleanup
- AI-recommended next steps
Lab curriculum
- 01
Logging into Azure Account using Azure Portal
- 02
Exploring the Pre-Provisioned Windows Server Virtual Machine
- 03
Installing DNS and DHCP Server Roles with PowerShell
1 automated check
- 04
Creating DNS Zones and Resource Records Configuration
1 automated check
- 05
Configuring DHCP Scopes, Exclusions, and Reservations
1 automated check
- 06
Testing DNS Resolution and DHCP Lease Verification
1 automated check
Skills validated
Not the lab you were looking for?
Browse 250+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.