dnsmgmt.msc: How to Open, Configure, and Manage Windows DNS (2026)

If you need to open and use dnsmgmt.msc, here is the short answer: press Win + R, type dnsmgmt.msc, and hit Enter. That opens the DNS Manager console on Windows Server. Everything else in this guide helps you actually use it well.

What Is dnsmgmt.msc?

dnsmgmt.msc is the Microsoft Management Console snap-in for DNS (Domain Name System) management. It is built into Windows Server operating systems. You use it to create, edit, and delete DNS zones and records, troubleshoot name resolution problems, and manage DNS server settings from a graphical interface.

Think of DNS as the phonebook of your network. It translates human-readable names like server.company.local into IP addresses that computers understand. dnsmgmt.msc is the tool you use to manage that phonebook.

Table of Contents

It is available on:

  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022
  • Windows 11 (with RSAT tools installed)
  • Windows 10 (with RSAT tools installed)

How to Open dnsmgmt.msc: Every Method

dnsmgmt.msc

Method 1: Run Dialog (Fastest)

  1. Press Win + R
  2. Type dnsmgmt.msc
  3. Press Enter

This works on any Windows Server where DNS Server role is installed.

Method 2: Start Menu Search

  1. Click the Start button
  2. Type DNS
  3. Click DNS Manager from the results

Method 3: Server Manager

  1. Open Server Manager
  2. Click Tools in the top-right menu
  3. Select DNS

Method 4: Command Prompt or PowerShell

Open CMD or PowerShell and run:

dnsmgmt.msc

Method 5: Remote Access from Another Machine

If you are managing a remote DNS server, you can open DNS Manager and connect to a different server. When DNS Manager opens, right-click the top node and select Connect to DNS Server, then enter the remote server name or IP.

dnsmgmt.msc Is Not Opening: Common Fixes

ProblemCauseFix
“Windows cannot find dnsmgmt.msc”DNS Server role not installedInstall DNS Server role via Server Manager
Opens but no server listedDNS service stoppedRun net start dns in CMD
Access deniedNot running as adminRight-click and run as Administrator
Not available on Windows 10/11RSAT not installedInstall Remote Server Administration Tools

Installing RSAT on Windows 10 or 11

If you are on a workstation, not a server, you need RSAT:

  1. Go to Settings > Apps > Optional Features
  2. Click Add a feature
  3. Search for RSAT: DNS Server Tools
  4. Install it
See also  How to Switch from Local to Microsoft Account on Windows 11/10 (2026 Guide)

After that, dnsmgmt.msc will work from your workstation and you can manage DNS servers remotely.

Understanding the DNS Manager Interface

When you open DNS Manager, you see a tree on the left and details on the right. Here is what each section means:

Forward Lookup Zones This is where hostname-to-IP mappings live. When a computer asks “what is the IP of server01.company.local?”, it looks here.

Reverse Lookup Zones This is where IP-to-hostname mappings live. Used for verification and logging. When something asks “what is the name of 192.168.1.10?”, it checks here.

Conditional Forwarders Rules that tell your DNS server to forward specific domain queries to another DNS server. Useful in multi-domain or hybrid environments.

Root Hints A list of root DNS servers on the internet. Your server uses these when it cannot resolve a name from local zones.

How to Create a DNS Zone

Creating a Forward Lookup Zone

  1. Open dnsmgmt.msc
  2. Expand your server name
  3. Right-click Forward Lookup Zones
  4. Select New Zone
  5. Click Next on the wizard
  6. Choose zone type:
    • Primary Zone = writable master copy
    • Secondary Zone = read-only copy from another server
    • Stub Zone = stores only NS records
  7. Enter the zone name (example: company.local)
  8. Choose whether to store in Active Directory (recommended if AD is present)
  9. Accept defaults for replication and dynamic updates
  10. Click Finish

Creating a Reverse Lookup Zone

  1. Right-click Reverse Lookup Zones
  2. Select New Zone
  3. Follow the wizard
  4. Choose IPv4 Reverse Lookup Zone
  5. Enter your network ID (example: 192.168.1)
  6. Complete the wizard

How to Add DNS Records

This is one of the most common tasks in DNS Manager. Here are the record types you will use most:

A Record (Host Record)

Maps a hostname to an IPv4 address.

  1. Expand Forward Lookup Zones
  2. Click your zone
  3. Right-click in the right pane
  4. Select New Host (A or AAAA)
  5. Enter the name (example: webserver) and IP address (example: 192.168.1.50)
  6. Check Create associated pointer (PTR) record if you have a reverse zone
  7. Click Add Host

CNAME Record (Alias)

Points one name to another name. Useful for creating aliases.

  1. Right-click your zone
  2. Select New Alias (CNAME)
  3. Enter the alias name (example: www)
  4. Enter the fully qualified target (example: webserver.company.local)
  5. Click OK

MX Record (Mail Exchanger)

Tells other mail servers where to send email for your domain.

  1. Right-click your zone
  2. Select New Mail Exchanger (MX)
  3. Leave the host field blank (for the root of the domain) or enter a subdomain
  4. Enter the mail server FQDN (example: mail.company.local)
  5. Set priority (lower number = higher priority)
  6. Click OK

PTR Record (Pointer)

Used in reverse lookup zones. Maps an IP to a hostname.

  1. Expand Reverse Lookup Zones
  2. Click your reverse zone
  3. Right-click the right pane
  4. Select New Pointer (PTR)
  5. Enter the last octet of the IP (example: 50 for 192.168.1.50)
  6. Enter the hostname FQDN
  7. Click OK

SRV Record (Service Locator)

Used by applications like Active Directory and VoIP to find services.

  1. Right-click your zone
  2. Select Other New Records
  3. Choose Service Location (SRV)
  4. Fill in: Service, Protocol, Priority, Weight, Port, Target
  5. Click OK

DNS Record Types:

Record TypePurposeExample Use
AHostname to IPv4server01 > 192.168.1.10
AAAAHostname to IPv6server01 > ::1
CNAMEAlias to another namewww > webserver.company.local
MXMail server for domainMail delivery
PTRIP to hostnameReverse lookup
NSName server for zoneDelegation
SOAZone authority infoZone metadata
SRVService locationAD, Teams, SIP
TXTText dataSPF, DKIM, verification

How to Edit or Delete DNS Records

Edit a Record

  1. Open DNS Manager
  2. Navigate to the zone containing the record
  3. Find the record in the right pane
  4. Double-click it
  5. Make your changes
  6. Click OK
See also  How to Create a Table of Contents in Word: A Step-by-Step Guide

Delete a Record

  1. Right-click the record
  2. Select Delete
  3. Confirm the deletion

Be careful when deleting records. If a system depends on that record, you will break name resolution for it immediately.

Managing DNS Zones: Key Operations

Transfer a Zone (Secondary DNS)

If you have a secondary DNS server that should pull zone data from the primary:

  1. On the primary server, open zone properties
  2. Go to the Zone Transfers tab
  3. Allow zone transfers to specific servers
  4. On the secondary server, create a new secondary zone
  5. Enter the primary server IP as the master

Force Zone Transfer

On the secondary server:

  1. Right-click the secondary zone
  2. Select Transfer from Master

Enable Dynamic Updates

Dynamic updates let DHCP automatically register DNS records.

  1. Right-click a zone
  2. Select Properties
  3. Under Dynamic updates, choose:
    • None = no automatic updates
    • Nonsecure and secure = any client can register
    • Secure only = only domain-joined computers can register (recommended)

Configuring Forwarders

Forwarders tell your DNS server where to send queries it cannot resolve locally.

Adding a Forwarder

  1. Right-click your server name in DNS Manager
  2. Select Properties
  3. Click the Forwarders tab
  4. Click Edit
  5. Add IP addresses (example: 8.8.8.8 for Google DNS or your ISP DNS)
  6. Click OK

Adding a Conditional Forwarder

Used when you want queries for a specific domain to go to a specific server.

  1. Right-click Conditional Forwarders
  2. Select New Conditional Forwarder
  3. Enter the domain name (example: partner.company.com)
  4. Add the DNS server IP that handles that domain
  5. Click OK

This is very useful in Azure hybrid environments where on-premises DNS needs to forward Azure Private DNS zones to Azure DNS resolvers.

Viewing and Clearing the DNS Cache

Your DNS server caches records it has looked up from the internet. Sometimes cached data becomes stale and causes resolution issues.

View Cached Lookups

  1. In DNS Manager, go to View in the menu
  2. Enable Advanced
  3. You will now see a Cached Lookups folder under your server
  4. Expand it to see what is cached

Clear the Cache

Right-click your server name and select Clear Cache.

Or use PowerShell:

Clear-DnsServerCache

Or use CMD:

ipconfig /flushdns

Note: ipconfig /flushdns clears the client-side cache on the machine you run it on. The Clear Cache option in DNS Manager clears the server’s resolver cache.

Using PowerShell Alongside dnsmgmt.msc

The DNS Manager GUI is great for visual work, but PowerShell is faster for bulk tasks. Here are useful commands that complement your work in dnsmgmt.msc:

# View all zones
Get-DnsServerZone

# Add an A record
Add-DnsServerResourceRecordA -ZoneName "company.local" -Name "server02" -IPv4Address "192.168.1.20"

# Remove a record
Remove-DnsServerResourceRecord -ZoneName "company.local" -RRtype "A" -Name "server02"

# View all records in a zone
Get-DnsServerResourceRecord -ZoneName "company.local"

# Restart DNS service
Restart-Service DNS

Microsoft’s official DNS Server PowerShell documentation covers all available cmdlets in detail and is worth bookmarking.

Troubleshooting DNS Problems with DNS Manager

Check Zone Status

Open DNS Manager and look at your zones. A healthy zone shows records normally. A zone showing as red or with a warning icon indicates a problem.

Check SOA Record

The SOA (Start of Authority) record holds important zone metadata including the serial number. If a secondary zone is not updating, compare the SOA serial number between primary and secondary. They should match after a successful zone transfer.

To view SOA:

  1. Click your zone
  2. Find the SOA record (usually at the top of the list)
  3. Double-click to inspect

Test DNS Resolution

Use nslookup to test from CMD:

nslookup server01.company.local
nslookup server01.company.local 192.168.1.1

The second command forces the query to a specific DNS server. Useful when you want to test a particular server’s response.

Use Resolve-DnsName in PowerShell for more detail:

Resolve-DnsName server01.company.local -Server 192.168.1.1

Common DNS Issues and Fixes

SymptomLikely CauseFix
Name not resolvingMissing A recordAdd the record in DNS Manager
Wrong IP returnedOld cached recordClear DNS cache, update record
External sites not resolvingMissing forwarderAdd forwarder in server properties
Secondary zone not updatingZone transfer blockedCheck firewall, allow TCP/UDP 53
Reverse lookup failingMissing PTR recordAdd PTR in reverse zone

DNS Security Best Practices

Restrict Zone Transfers

Zone transfers copy your entire DNS zone. Restrict who can request them:

  1. Zone Properties > Zone Transfers tab
  2. Select Only to the following servers
  3. Add only your secondary DNS server IPs
See also  How to Scan Your Drive for Errors: CHKDSK, fsck & Disk Utility Guide in 2026

Enable Secure Dynamic Updates

As mentioned earlier, set dynamic updates to Secure only so only authenticated domain members can register records.

Use DNSSEC

DNS Security Extensions add digital signatures to DNS records, preventing spoofing. To enable:

  1. Right-click a zone
  2. Select DNSSEC > Sign the Zone
  3. Follow the wizard

DNSSEC is complex but worth it for external-facing zones. The IANA DNSSEC guide provides a solid foundation for understanding how it works in practice: https://www.iana.org/dnssec

Disable Recursion on Authoritative Servers

If a server is only authoritative (not a resolver for clients), disable recursion:

  1. Right-click server > Properties
  2. Go to Advanced tab
  3. Check Disable recursion

Scavenging Stale DNS Records

Over time, DNS zones fill up with old records from decommissioned machines. DNS scavenging automatically removes them.

Enable Scavenging on the Server

  1. Right-click server > Set Aging/Scavenging for All Zones
  2. Check Scavenge stale resource records
  3. Set:
    • No-refresh interval: 7 days (how long before a record can be marked stale)
    • Refresh interval: 7 days (how long after being stale before deletion)
  4. Click OK

Enable Scavenging on a Zone

  1. Right-click the zone
  2. Select Properties
  3. Go to General tab
  4. Click Aging
  5. Check Scavenge stale resource records

Scavenging only removes dynamically registered records, not manually created ones. Your static A records are safe.

Delegating a DNS Zone

Delegation lets you hand off management of a subdomain to a different DNS server.

Example: You manage company.local but want a different server to handle dev.company.local.

  1. On the parent zone server, right-click company.local
  2. Select New Delegation
  3. Enter the delegated subdomain: dev
  4. Add the DNS server responsible for dev.company.local
  5. Complete the wizard

The wizard creates an NS record in the parent zone pointing to the child zone’s server.

Backing Up DNS Data

Method 1: Export Zone File

For primary zones not stored in Active Directory:

  1. Zone files are stored in C:\Windows\System32\dns\
  2. Files are named zonename.dns
  3. Copy these files as your backup

Method 2: Active Directory Backup

If zones are AD-integrated, they are backed up as part of AD. Use Windows Server Backup or your existing backup solution that covers the System State.

Method 3: PowerShell Export

Get-DnsServerZone | Export-Csv C:\dns-zones-backup.csv

For full record backup:

Get-DnsServerResourceRecord -ZoneName "company.local" | Export-Csv C:\dns-records-backup.csv

Monitoring DNS Server Health

DNS Manager shows basic status, but for deeper monitoring:

DNS Debug Logging:

  1. Right-click server > Properties
  2. Go to Debug Logging tab
  3. Enable and configure what to log
  4. Log file is saved to C:\Windows\System32\dns\dns.log

This log is very detailed and can grow large. Enable it for troubleshooting, then turn it off after.

Event Viewer: DNS events appear in: Event Viewer > Applications and Services Logs > DNS Server

Look for warnings or errors here when DNS behaves unexpectedly.

Summary

dnsmgmt.msc is a powerful tool that handles everything DNS on Windows Server. Open it with Win + R and typing the command. Use it to manage zones, add and edit records, configure forwarders, handle delegation, enable scavenging, and troubleshoot resolution issues. Pair it with PowerShell for bulk work. Keep zones secure with restricted zone transfers, secure dynamic updates, and scavenging. Back up zone files or rely on AD replication for redundancy.

If you understand zones, record types, and the difference between forwarders and conditional forwarders, you can handle nearly every DNS task that comes your way through this single console.

Frequently Asked Questions

What is the difference between dnsmgmt.msc and ipconfig /flushdns?

dnsmgmt.msc is a server-side management console. It manages the DNS server itself including zones, records, and configuration. ipconfig /flushdns clears the DNS resolver cache on the local client machine. They operate at different levels. Use DNS Manager on the server. Use ipconfig /flushdns on a workstation that is returning stale results.

Can I use dnsmgmt.msc on Windows 10 or 11?

Yes. You need to install the RSAT DNS Server Tools feature. Go to Settings > Apps > Optional Features, search for RSAT DNS Server Tools, and install it. After that, you can open DNS Manager and connect to remote DNS servers on your network.

How do I connect dnsmgmt.msc to a remote DNS server?

Open DNS Manager, right-click the top node labeled DNS, and select Connect to DNS Server. Enter the name or IP of the remote server. You need admin rights on the remote server and network connectivity on port 53 (TCP and UDP).

Why are my DNS changes not taking effect immediately?

DNS changes are subject to TTL (Time To Live). Each record has a TTL value that tells caches how long to keep the record. If a device cached the old record, it will keep using it until the TTL expires. Lower the TTL before making a change, wait for existing caches to expire, then make the change. Also clear server and client caches after changes for faster propagation on your local network.

How do I check if the DNS Server service is running from DNS Manager?

Open DNS Manager. If the DNS server icon has a red down-arrow, the service is stopped. Right-click the server and select Start to restart it. You can also check from CMD with sc query dns or restart it with net start dns. In PowerShell, use Get-Service DNS to check status and Start-Service DNS to start it.

MK Usmaan