Manage a DNS Server with PowerShell
In this lab, you’ll practice configuring basic DNS (Domain Name System) settings in an Active Directory environment. When you’re finished, you’ll have experience with installing DNS, the tools required to manage DNS, and configuring primary DNS zones.
Terms and conditions apply.
Lab info
Lab author
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
Challenge
Set Up the Development Environment
Set up the development environment.
Challenge
Install the DNS Service
You will use PowerShell to install the DNS service, and then retrieve its status.
Challenge
Configure DNS Primary Zones
Now that DNS is installed, you will create standard and AD-integrated DNS primary zones.
Challenge
Manage Resource records
You will manage DNS records, adding host A and CNAME records, as well as deleting a resource record.
Challenge
Configure a Secondary Zone
Using PowerShell, you will configure zone transfer settings, which are needed to transfer zone data between primary and secondary zones.
Challenge
Configure a Reverse Lookup Zone
You will learn to create a reverse lookup and the DNS PTR (Pointer) record using PowerShell.
Challenge
Create Global Names
You create and configure global names on the DNS server.
Challenge
Configure DNS Forwarders
You will learn about managing DNS forwarders, which are used to handle DNS queries that the local DNS server cannot resolve internally.
Challenge
Manage Conditional Forwarders
To finish the lab, you will learn about managing DNS conditional forwarders, which allow for customized DNS resolution by forwarding queries for specific domain namespaces to designated DNS servers.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Familiarity with
- Windows,
- Active Directory,
- DNS,
- and PowerShell