DNS Server Installation and Configuration on Windows Server 2012

DNS Server Installation and Configuration on Windows Server 2012

This article explains how to install and configure DNS Server on Microsoft Windows Server 2012. Free step by step guide for DNS Server installation and configuration on Windows Server 2012

Domain Name Server (DNS) resolves a host name to IP address and an IP address to a host.

DNS Zones: DNS has 3 types of Zones

  • Primary Zone
  • Secondary Zone
  • Stub Zone

DNS Hierarchy: DNS has its own structure which defines how the domain works.

  • Root Domain
  • Top Level Domain
  • Second Level Domain
  • Sub-Domain
  • Host

DNS Database Records

  • Start Of Authority Record (SOA Record)
  • Host Record (A Record)
  • Name Server Record (NS Record)
  • Mail Exchanger(MX Record)
  • CNAME Record

DNS Quires[ER1]  to database

  • Simple
  • Recursive
  • Iterative

Fully Qualified Domain Name (FQDN) is a complete domain name of a computer, and it consist of two parts.

Host Name + Domain Name

For Example: Test.Abc.com = FQDN

Test = Hostname & ABC.com = Domain Name

DNS has two lookup zones:

  • Forward Lookup Zone
  • Reverse Lookup Zone

This Service get installed by default onto the server when you install an Active Directory Service onto the server, which we looked at in an earlier chapter.  To ensure that you have a clear understanding of this process, we are going to install this service again.

Let’s get started.

1. Login to the Test Server.

2. Now login to the server, as shown below.

DNS Server Installation

3. Enter your username and password (ABC\administrator) and click OK, as shown below.

username and password (ABC\administrator)

4. On the certificate verification window, click Yes.

certificate verification window

5. The next window will show the server desktop.

window will show the server desktop

6. Open the Server Manager from the bottom left corner of the server desktop, as shown below.

Server Manager

7. Click Add Roles & Features from the Server Manager Dashboard, as shown below.

Add Roles & Features

8. Click Next to begin the process, as shown below.

Next to begin the process

9. By default, Role-based or feature-based Installation is selected, so simply click Next, as shown below.

Role-based or feature-based Installation

10. On the next window, continue with default server (Test) selection and click Next, as shown below.

Continue

11. On the Server Roles window, select the DNS Server option, as shown below.

Roles window, select the DNS Server

12. When you click on the DNS Server option, it will open a pop-up window for the Add Roles & Features Wizard.  Click Add Features to continue, as shown below.

DNS Server

13. Click Next to continue, as shown below

Click Next to continue, as shown below

14. Click Next to Continue, as shown below, because we do not require any other features.

require any other features

15. On the DNS Server Role page, click Next to continue.

DNS Server Role page

16. On the Confirm Install Selection window, click Install, as shown below.

Confirm Install Selection window

17. You can see that the DNS Server Installation has started, as shown below.

DNS Server Installation

18. Once the Installation of the DNS server is complete, click Close to finish the setup, as shown below.

Server Roles window

19. After installing the DNS Server Role, open DNS from Tools in the top right corner of the Server Manager Dashboard, as shown below.

DNS Server

20. The DNS Server Console will open and you will be able to see the contents, as shown below.

DNS Server Console

21. First, we have to create a Zone in the DNS, for database creation, that will store the DNS database.

22. To do that, right-click on Forward Lookup and select New Zone, as shown below.

right- click

23. Click Next to continue

Next to continue

24. Select Primary Zone, because this is first zone in the DNS, and click Next to continue, as shown below.

Primary Zone

25. Choose a Zone Name and click Next.

because this is first zone in the DNS

26. Click Next to continue.

Click Next to continue.

27. Click Next to continue.

Click Next to continue.

28. Click Finish to complete the setup.

Click Finish to complete the setup.

29. You can see that the database has been created and, by default, two records have been created:

  • SOA Record
  • NS Record

As soon as the client joins the domain, the Host record will be created automatically.

To create the Primary Zone database for the Reverse Lookup Zone, you have to follow the same process you followed for Forward Lookup Zone database creation.

This is how we will configure the DNS Server on Windows Server 2012.

Read more

Practice Exams

Tutorial

Study Guide

Interview Questions

Resume

Search

Shortcodes Ultimate

 
Follow Us
 
BGP