PowerShell Lab Complete!

You've mastered DNS management with PowerShell!

Take the Quiz → GUI Lab

Lab Tasks

1. List DNS Zones
View all DNS zones on the server.
Get-DnsServerZone
2. View Zone Records
List records in the hexworth.local zone.
Get-DnsServerResourceRecord -ZoneName hexworth.local
3. Create A Record
Create a new A record for a fileserver.
Add-DnsServerResourceRecordA -ZoneName hexworth.local -Name fileserver -IPv4Address 192.168.1.30
4. Query DNS
Test DNS resolution for dc01.hexworth.local.
Resolve-DnsName dc01.hexworth.local
5. Configure Forwarder
Set a DNS forwarder to Google's public DNS.
Set-DnsServerForwarder -IPAddress 8.8.8.8
DNS Pro Tip:
Use Get-Help with any cmdlet to learn more, e.g., Get-Help Get-DnsServerZone
Tip: DNS records propagate instantly in this lab environment. In production, changes may take time to replicate.