This article is dedicated to the Domain Name System or DNS server which is the heart of any enterprise network. DNS is mostly used to resolve host names to IP addresses and IP addresses to host names.

This tutorial focuses on:

  1. Installing DNS server role
  2. Configuring forward lookup zone
  3. Configuring reverse lookup zone
  4. Adding a host record in forward lookup zone
  5. Adding a PTR record in reverse lookup zone

Prerequisites

For DNS server to be configured, you should meet the following requirements:

  1. Administrator account has strong password
  2. At least one static IP is configured
  3. Current security updates from Windows Update are installed
  4. Firewall is turned off

Installing DNS Server Role

Step 1: From task bar, open server manager dashboard

open server manager dashboardFigure 1

Step 2: Read the notes and meet the prerequisites. Click Next when you are done

Read the notes and meet the prerequisitesFigure 2

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

Choose Role-based or feature-based installation

Figure 3

Step 4: Select the destination server from server pool on which you want to configure DNS and click Next

Select the destination serverFigure 4

Step 5: Choose DNS Server from server roles. When prompted to install additional necessary features along with DNS server, click Add Features

 

Choose DNS Server from server rolesFigure 5

Step 6: Click Next

Select DNS server roleFigure 6

Step 7: Keep default selections and click Next

Install .NET frameworkFigure 7

Step 8: Read the important notes and click Next

Read DNS server installation notesFigure 8

Step 9: Click Install. Wait for a moment before DNS role is installed

Wait for a moment before DNS role is installedFigure 9

Configuring Forward Look Up Zone

Step 1: Open server manager dashboard, and then open tools. Scroll to DNS and click it

Open server manager dashboardFigure 10

Step 2:  Right-click Forward Lookup Zones and click New Zone

Forward Lookup ZonesFigure 11

Step 3: Click Next

New DNS Zone Wizard

Figure 12

Step 4: Provide the zone name and click Next

Provide the zone name

Figure 13

Step 5: Choose Create a new file with this file name and click Next

Create a new file with this file nameFigure 14

Step 6: Choose Do not allow dynamic updates and click Next

Do not allow dynamic updatesFigure 15

Step 7: Click Finish to successfully create the new zone

Finish DNS Zone creationFigure 16

Configuring Reverse Look Up Zone

Step 1: Open server manager from task bar and click on Tools. Scroll to DNS and then click on it

DNS: Configuring Reverse Look Up ZoneFigure 17

Step 2: Right-click Reverse Lookup Zones and then click New Zone

Add new zoneFigure 18

Step 3: Click Next

New reverse DNS zone wizardFigure 19

Step 4: Choose Primary zone and click Next

Choose Primary zoneFigure 20

Step 5: Choose IPv4 Reverse Lookup Zone and click Next

Choose IPv4 Reverse Lookup ZoneFigure 21

Step 6: Provide network ID and click Next

Provide network IDFigure 22

Step 7: Choose Create a new file with this file name: and click Next

Create a new DNS file with this file nameFigure 23

Step 8: Choose Do not allow dynamic updates and click Next

Do not allow dynamic updatesFigure 24

Step 9: Click Finish to end the wizard

Finish the install wizardFigure 25

Adding a New Host Record in Forward Look Up Zone

Step 1: Locate the zone in forward lookup zones and right-click on it. Scroll to New Host (A or AAAA) and click on it

Adding a New Host Record in Forward Look Up ZoneFigure 26

Step 2: Provide the name and click Add Host

Add hostFigure 27

Step 3: Click OK and this new host record will be visible in zone

Add host to DNS zoneFigure 28

 

Adding a New PTR Record in Forward Look Up Zone

Step 1: Right-click the desired reverse lookup zone. Scroll to New Pointer (PTR)

Adding a New PTR Record in Forward Look Up ZoneFigure 29

Step 2: Provide host name and click OK

Provide host nameFigure 30

Conclusion

In this article, I have showed the steps which are used to configure DNS server on Windows Server 2012 R2. You can test this configuration by taking a DNS client and pointing its DNS setting to this server. You should be able to resolve the host you just created.

How to Configure DNS on Windows Server 2012 R2

Leave a Reply

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

*