How to Configure DNS Server on Windows Server 2019

Anmol Ahuja
3 Min Read

How to Configure DNS Server on Windows Server 2019 – Complete InfraDecoded Guide

At InfraDecoded, we believe that every IT administrator should have a rock-solid understanding of DNS (Domain Name System) configuration. Whether you’re setting up an internal network or managing a public-facing service, DNS plays a critical role in ensuring users can access resources efficiently. In this step-by-step guide, we’ll walk you through installing, configuring, and securing a DNS Server on Windows Server 2019.

Why Use DNS Server?

DNS is like the phonebook of the internet. Instead of remembering IP addresses like 192.168.1.10, users can type a domain name like infradecoded.local and be connected instantly. A properly configured DNS Server improves accessibility, network performance, and user experience.

Step 1: Prerequisites

  • A Windows Server 2019 machine with administrative privileges
  • Static IP address configured
  • Administrator account access
  • Basic understanding of IP networking

Step 2: Installing the DNS Server Role

  1. Open Server Manager from the Start menu.
  2. Click Manage → Add Roles and Features.
  3. In the wizard, select Role-based or feature-based installation and click Next.
  4. Choose the server from the server pool and click Next.
  5. Select DNS Server from the roles list and click Next.
  6. Confirm installation and click Install.
  7. Once completed, click Close.

Step 3: Configuring the DNS Server

After installation, it’s time to configure your DNS zones and records.

Create a Forward Lookup Zone

  1. Open DNS Manager from the Tools menu in Server Manager.
  2. Right-click Forward Lookup ZonesNew Zone.
  3. Choose Primary Zone and click Next.
  4. Select Store the zone in Active Directory if your server is a domain controller.
  5. Enter your domain name (e.g., infradecoded.local).
  6. Choose Allow only secure dynamic updates for better security.
  7. Click Finish.

Add a Host (A) Record

  1. Right-click your newly created zone and select New Host (A or AAAA).
  2. Enter the host name (e.g., fileserver) and the IP address (e.g., 192.168.1.50).
  3. Click Add Host.

Step 4: Testing the DNS Server

On a client machine, set its DNS server address to your Windows Server IP. Open a Command Prompt and run:

nslookup infradecoded.local

If the correct IP address is returned, your DNS Server is working perfectly.

Step 5: Security Best Practices

  • Enable DNS logging to monitor suspicious queries.
  • Limit zone transfers to trusted servers only.
  • Regularly update your Windows Server to patch vulnerabilities.
  • Use secure dynamic updates for Active Directory-integrated zones.

Conclusion

By following this guide from InfraDecoded, you’ve successfully installed and configured a DNS Server on Windows Server 2019. This foundational skill is essential for IT administrators and network engineers aiming to maintain smooth network operations.


Written by the InfraDecoded Tech Team – Your trusted source for IT tutorials and infrastructure insights.

Share This Article
Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *