Installing and Configuring a DNS Server on Windows Server

Install and configure DNS Server Windows Server 2019

The Domain Name System (DNS) is a crucial component of the TCP/IP protocol suite that maps human-readable domain names to IP addresses. It enables seamless communication between computers on a network or the internet. In this guide, we’ll walk through the steps to install and configure a DNS Server on Windows Server 2019.


Before proceeding, ensure that your Windows Server 2019 has a static IP address configured. A static IP address is required for the DNS Server to function correctly.

Step 1: Install the DNS Server Role

1. Open the Server Manager.

Server Manage Windows Server 2019

2. Navigate to the “Manage” menu and select “Add Roles and Features.”

Server Manage Add Roles and Features Windows Server 2019

3. In the “Add Roles and Features Wizard,” click “Next” until you reach the “Server Roles” page.

Add Roles and Features AD
Add Roles and Features Popup Role based
DNS Server Selection

4. Select the “DNS Server” role from the list of available roles.

DNS Server Roles

5. Click “Add Features” when prompted, and then click “Next.”

DNS Server Roles Add Features

6. Proceed through the remaining prompts, confirming the installation selections.

DNS Server Roles Validation Results
DNS Server Roles Validation Results

7. Click “Install” to begin the installation process.

DNS Confirmation

8. Wait for the installation to complete, and then click “Close.”

DNS Installation

Step 2: Configure DNS Forward Lookup Zone

With the DNS Server installed, you can now configure a DNS Forward Lookup Zone. A Forward Lookup Zone requests the IP address that corresponds to a fully qualified domain name (FQDN). When you type a domain name like “” in your browser, the DNS Forward Lookup Zone translates that FQDN to the IP address of the server hosting that site.

Follow these steps to add a DNS Forward Lookup Zone:

1. Open the DNS Manager from the Server Manager’s Tools menu.

Server Manage DNS Windows Server 2019
DNS Manager Windows Server 2019
DNS Manager Add Forward Lookup Windows Server 2019

2. Right-click your server name and choose “New Zone…” to open the New Zone Wizard.

DNS Manager New Zone Windows Server 2019

3. Click “Next” on the first Wizard screen.

DNS Manager New Zone Popup Windows Server 2019

4. Choose the “Primary Zone” option and click “Next.”

New Zone Popup Windows Server 2019

5. Select “Forward Lookup Zone” and click “Next.”

New Zone Popup Forward lookup Windows Server 2019

6. Enter the desired “Zone Name” for the lookup and click “Next.”

New Zone Popup Zone Name Windows Server 2019

7. Specify a “Zone File” or use the auto-generated one, then click “Next.”

New Zone Popup Zone Name Windows Server 2019

8. Configure dynamic updates if needed, or click “Next” to proceed.

New Zone Popup Dynamic updates Windows Server 2019

9. Review the settings and click “Finish” to complete the New Zone Wizard.

New Zone Popup Complete Windows Server 2019

10. Verify that your Forward Lookup Zone appears in the DNS Manager.

New Zone Popup Finished Windows Server 2019

With the Forward Lookup Zone configured, you can now add DNS records for your domain names and their corresponding IP addresses.


You have successfully installed and configured a DNS Server on Windows Server 2019, including setting up a DNS Forward Lookup Zone. With the DNS Server up and running, you can now manage domain name resolution for your network or organization. Remember to follow best practices and keep your DNS Server updated with the latest security patches and updates.