DNS Server Role

Install and Configure DNS on Windows Server 2019

In this article, I will show you how to install and configure  DNS on windows server 2019 with PowerShell and the GUI method. The GUI method is slightly longer. I will start this installation with GUI and later will see it with Powershell.

Prerequisites

  1. Server OS (Windows server 2019)
  2. Administrator Account
  3. A Static IP address is configured
  4. Latest windows updates installed

Install Windows  DNS Server

Step1: Open the server manager dashboard and Click add roles and features.

DNS

Step 2: Click on Next

DNS

Step 3: Choose Role-based or feature-based installation and click Next.

Step 4: Choose destination server for DNS role and click Next

Add Role and features

Step 5: Put the Check on the DNS server for DNS Server Role Installation

dns

Step 6: Add features that are required for the DNS server including management tools.

dns managment

Step 7: After adding of required features it installs the DNS server with a succeeded message.

dns

Step 8: After DNS Server Installation you can access the DNS server from Server Manager or from Administrative Tools option in windows Program.

DNS Server Role

Install DNS Server with PowerShell

Step 1: Run the below Powershell command with local admin rights and restart your server.

DNS

Creating Forward Lookup Zone

Step 1. Open DNS management console.

Step 3. In DNS manager console,  expand DNS server. Right-click Forward Lookup Zones.

Step 4. Click New Zone.

Step 5. Default Primary zone is selected, but you can change it accordingly and click on Next.

Step 6. Assign the zone name. In my case, I have assigned wintelpro.com

Step 7. A New Zone file for wintelpro.com zone is going to be created. Click on Next.

Step 8. Select the Zone update type. In this case by default is selected.

Step 9. Now A new Zone with below options has been created.

After Creating of zone you can add or remove records accordingly.

Leave a Reply

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