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
Creating a Web App on Azure App Service using Azure Portal
Learn how to create, configure, and deploy a web application using Azure App Service through the Azure Portal's interface.
Expose a REST API as an MCP Server via Azure API Management
Import a REST API into Azure API Management and export it as an MCP server for AI agents to consume as tools
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 150+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.