Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » How to Install and Configure a Standalone DNS Server

How to Install and Configure a Standalone DNS Server

Posted on 11/04/202429/04/2024 Matthew By Matthew No Comments on How to Install and Configure a Standalone DNS Server
How to install and configure a Standalone DNS Server
How to install and configure a Standalone DNS Server

Setting up a standalone DNS server is a fundamental step in managing network resources efficiently. While numerous DNS servers exist, customizing your own ensures tailored control and enhanced security. In this guide, we’ll delve into the installation and configuration of DNS servers on Windows Server platforms, streamlining the process for seamless implementation. Please see how to Change Active Directory Domain name from dot local to dot com, Domain Naming System: Enabling DNS over TLS in Windows 11.

What is DNS?

DNS, or Domain Name System (DNS) is like an address book for the internet translating domain names into IP addresses. It simplifies web navigation by eliminating the need to recall complex numerical addresses known as IP addresses, facilitating seamless communication between devices across the internet.

Please see how to install and configure Active Directory Domain Services on Windows Server 2022, Why you should not use Public DNS in Production: Change DNS Server in Windows, how to Create a Windows Server VM on HyperV, and how to Install Hyper-V and Configure vSwitch on Windows Server with PowerShell.

How to Install a DNS Server on Windows

Before embarking on the installation journey, certain prerequisites must be met:

  • A computer running a supported version of Windows Server.
  • A static IP.
  • An account that is a member of the Administrators group, or equivalent.

Installing DNS Server Role

Launch the Server Manager and navigate to the Local Server section and click on ‘Manage‘

DNS Server: Click Manage
Click Manage

Select the ‘Add roles and features‘ option under the Configure this local server.

DNS Server: Add roles and features
Add roles and features

Proceed through the installation wizard, opting for the ‘Role-based or feature-based installation.’

DNS Server: Select Role-based or feature-based installation
Select Role-based or feature-based installation

Choose the ‘Select server from the server pool‘ and select the DNS server role.

DNS Server: Select a server from the server pool
Select a server from the server pool

Review additional features for installation, if required, and proceed.

DNS Server: Add features
Add features

Select the DNS server role from the checklist and advance to the next stage.

DNS Server: Add DNS server role
Add DNS server role

Customize additional features as per your requirements and confirm the installation.

DNS Server: Add additional features
Add additional features

Upon successful installation, the DNS Server role will be visible in the Server Manager dashboard.

Configure DNS Server Interface

Typically, a DNS server will accept requests across all IP address interfaces. However, you have the option to specify which interface the DNS server listens on.

Here’s how to configure the interface designated for handling DNS requests using the DNS Manager console:

Navigate to the Start menu from the Windows desktop, then go to Windows Administrative Tools > DNS.

DNS Server: Select DNS
Select DNS

Right-click (or select and hold) your server, then choose Properties.

DNS Server: Select properties
Select properties

To restrict the DNS server to utilize only a particular IP address, opt for “Only the following IP address,” pick the desired IP address, and confirm by selecting OK.

DNS Server: Specify interface
Specify interface

Configure root hints

Root hints servers help in resolving DNS address information when the DNS server cannot resolve the query locally from a hosted zone or the DNS server cache. By default, root hints name servers are preloaded in new installations.

It’s not recommended to remove all root hints servers. Instead, you can configure your DNS server to not utilize root hint name servers by choosing the Disable recursion server option in the Advanced tab of the DNS Manager console. Disabling recursion also deactivates any configured forwarders. Alternatively, you can deselect the option to Use root hints if no forwarders are available in the Forwarders tab.

Here’s how to edit root hints using the DNS Manager console:

Navigate to the Windows desktop, open the Start menu, and select Windows Administrative Tools > DNS.

DNS Server: Select DNS
Select DNS

Select your server, hold (or right-click) it, then choose Properties.

Select properties
Choose properties

Go to the Root Hints tab, select the item you want to edit, and click Edit.

Edit root hint
Edit root hint

Enter the fully qualified domain name, then select Resolve. Verify the IP address and make any necessary edits. Then click OK.

Validate root hint
Validate root hint

Review the updated root hint server in the list, and when ready, click OK.

Configuring the DNS Server Zone:

Open the Server Manager and access the ‘Tools’ section, followed by selecting ‘DNS‘.

Select DNS
Select DNS

Next, configure the zones. Zones represent distinct segments of a domain namespace. Right-click on the DNS server, select ‘Configure a DNS Server‘ to launch the DNS Server wizard.

Open DNS server Wizard
Open DNS server Wizard

On the welcome page of the DNS wizard configuration click Next.

DNS wizard welcome page
DNS wizard welcome page

The wizard presents three options. Here’s a breakdown:

  • Forward and reverse lookup zone: Resolves IP addresses into domain names.
  • Forward lookup zone: Resolves domain names into IP addresses.
  • Root hints only: Provides IP addresses of DNS servers where records can be obtained.

Choose from three configuration options: Forward and reverse lookup zones, Forward lookup zone, or Root hints only, based on your network requirements.

Select configuration action
Select configuration action

Specify your primary server location.

Select primary server location
Select primary server location

Create the Zone name.

Specify zone name
Specify zone name

On the Zone file page, click next.

Create zone file
Create zone file

Select ‘Do not allow dynamic updates‘ and click Next.

Choose dynamic update settings
Choose dynamic update settings

You can optionally configure a forwarder to resolve DNS address or simply select No and click Next.

Configure DNS forwarders
Configure DNS forwarders

Complete the DNS server configuration by clicking the Finish button.

DNS server configuration
DNS server configuration

Bravo! You have successfully created the forward zone.

Right-click on the created zone to create DNS records within the configured zones, including A-records, MX records, NS records, and CNAME records, to facilitate seamless network navigation.

Create DNS records
Create DNS records

Also, configure reverse lookup zones to map IP addresses to corresponding domain names, enhancing network accessibility and navigation.

Removing the DNS Server role

Here’s how you can uninstall the DNS server role using Server Manager on your Windows desktop:

Open the Start menu from the Windows desktop, then click on the Server Manager tile. Navigate to Manage on the menu, and then click on Remove Roles and Features.

Remove roles and features
Remove roles and features

On the “Before you begin” page, click Next to proceed.

Begin DNS uninstall
Begin DNS uninstall

On the “Select destination server” page, choose the server from which you wish to remove the DNS server role service, then click Next.

Select server to remove
Select server to remove

Uncheck the ‘DNS Server’ checkbox from the list.

Uncheck DNS Server
Uncheck DNS Server

You’ll receive a prompt to remove features dependent on DNS Server; click Remove Features, then Next to proceed.

Remove DNS features
Remove DNS features

On the “Remove features” page, you can retain the default selections, then click Next.

Proceed to remove features
Proceed to remove features

Review the selected roles and features on the “Confirm removal selections” page, then click Remove.

Remove DNS Server roles and features
Remove DNS Server roles and features

Once the role and feature are removed, click Close and restart your computer to finalize the uninstallation.

Conclusion

By following these comprehensive steps, you can seamlessly install and configure a standalone DNS server on Windows Server platforms, empowering efficient network resource management and streamlined internet connectivity.

I hope you found this article useful on “How to Install and Configure a Standalone DNS Server.” Please feel free to leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:DNS, DNSRecord, Windows Server 2016

Post navigation

Previous Post: Fix An error has occurred during report processing (rsProcessingAborted)
Next Post: Safeguard Your PC Against Common Malware Entry Points

Related Posts

  • https   blogs images.forbes.com jasonevangelho files 2018 06 windows 7 2018 edition 1200x676 1
    Windows deployment cannot continue, the operating system is missing via MDT deployment Windows Server
  • ADBA for Windows
    Configure Active Directory-Based Activation (ADBA) for Windows Windows Server
  • microsoft confirms some pcs freeze after windows 10
    Analyze group policies applied to a user and computer account Windows Server
  • banner 1
    How to use the Program Compatibility Troubleshooter to Test Application Compatibility on Windows 11 Windows
  • Specifiy the right credential for adding a domain
    Specify user account name when adding a DC to an existing Forest Windows Server
  • certificate import and export on windows
    Export and Convert Private Keys to .PEM Format in Windows Windows

More Related Articles

https   blogs images.forbes.com jasonevangelho files 2018 06 windows 7 2018 edition 1200x676 1 Windows deployment cannot continue, the operating system is missing via MDT deployment Windows Server
ADBA for Windows Configure Active Directory-Based Activation (ADBA) for Windows Windows Server
microsoft confirms some pcs freeze after windows 10 Analyze group policies applied to a user and computer account Windows Server
banner 1 How to use the Program Compatibility Troubleshooter to Test Application Compatibility on Windows 11 Windows
Specifiy the right credential for adding a domain Specify user account name when adding a DC to an existing Forest Windows Server
certificate import and export on windows Export and Convert Private Keys to .PEM Format in Windows Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • dfg
    802.1x and EAP Authentication Types Security | Vulnerability Scans and Assessment
  • FEATUREDC
    How to create Confidential VMs in Azure AWS/Azure/OpenShift
  • maxresdefault 2 8
    Configure Windows Server using EC2 Launch AWS/Azure/OpenShift
  • How to Solve Parameter is Incorrect problem on External Hard Disk
    How to Solve “The parameter is incorrect” problem on External Hard Disk in Windows Windows
  • disable automatic updates in Windows
    How to disable automatic Windows updates via Windows Settings Windows
  • Featured image 2
    Enable Microsoft Defender SmartScreen: How to prevent Exe files from getting deleted randomly in Windows 10 and 11 Security | Vulnerability Scans and Assessment
  • Screenshot 2020 07 28 at 15.34.51
    Nslookup unknown: Fix cannot find non-existent domain Windows Server
  • adobeacrobat reader
    Workaround for there were no pages selected to print or the documents could not be printed from Adobe Acrobat Reader JIRA|Confluence|Apps

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,819 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.