windows server 2012

How to Install and Configure DNS Server on Windows Server 2012


This article is a step by step tutorial on how to install and configure a DNS Server on Windows Server 2012.

MS Windows Server 2012 is a great and powerful server OS capable of many different roles and functions. However, to prevent overloading production servers with features and options that are never used, Windows Server 2012 provides a great option for Administrator to manually install the service needed.

Important! Before install, make sure your DNS server has a static IP-address.

Now let’s begin.

At first we need to open Server Manager and click on Add Roles and Features.

configure local server

Select Role-based or feature-based installation option and click on Next.

select installation type dns

Here you need to select desired server you’d like to install DNS Server.

select destination server dns

From Server Roles lists select DNS server and click on Next.

select server roles dns

Click Add Features on the popup window.

add roles features dns

Now you can see that item DNS is checked.

select server roles

No additional features required for this step, but we want to be sure that DNS Server Tools is already selected. To check this, click on Remote Server Admnistraton => Role Administration Tools. Then click on Next.

dns server tools

Here just click on Next.

server dns

To confirm installation press Install.

confirm installation dns

Installation process started, it may take few minutes.

installation progress dns

DNS Server Installation is successfully completed, click on Close.

READ ALSO  Cleanup after installing Windows 7 SP1

installation progress dns

Now we will configure our DNS Server. Click on Tools in the upper right corner of Server Manager and click on DNS in the drop-down list.

server manager DNS

Select your server on the left side of DNS Manager window to open zone list.

zone lists DNS

Right-click on Forward Lookup Zones and click on New Zone from context menu to bring up the New Zone Wizard.

dns manager

In this window click Next.

bew zone wizard dns

In this step you can select the type of DNS you want to use. The primary zone will be located on your server, the secondary zone will be located on another server. The secondary zone is used in large networks for load balancing. Choose Primary zone and click on Next to continue.

primary zone wizard

Enter any name for new zone file and click on Next button.

create new zone file dns

Dynamic updates allows DNS clients register their resource records in DNS database automatically, but if the network is small we can make updates of DNS database manually.

dynamic uipdates zone

Here just click on Finish.

new zone wizard finish

If earlier you have chosen Do not to allow dynamic updates, you should add records to zone manually. First, add record of the server itself. To do this right click on zone name and click on New Host (A or AAAA).

READ ALSO  Windows Server 2012 Mailbox Role Process Execution Failed Exit Code 15010

new host aaa

Here enter name and IP-address of your DNS Server in appropriate fields and then click Add Host.

new host dns

As you can see on the right side of the DNS Manager window, the new host is now created. You can create records for client computers in exactly the same way.

dns manager forward zone

Now you should add Reverse Lookup Zone. To do this right click on Reverse Lookup Zone and click on New Zone from the action menu to bring up the New Zone Wizard.

new zone wizard dns

Next steps will be the same as for Forward Lookup Zone, click Next.

new zone wizard dns

Choose Primary zone and click on Next to continue.

primary zone wizard

Here you need to select the type of IP-address, check on IPv4 and click on Next to continue.

reverse lookup dns

In Network ID field enter the first three octets of your DNS Server IP-address.

reverse zone id

Just click on Next.

new file zone appa

Check Do not allow dynamic updates and press Next.

dynamic uipdates zone

Click on Finish button and your DNS server is now configured and ready for use.

completing new zone

As you can see on the right side of DNS Manager window, Reverse Lookup Zone is now created.

reverse lookup zones

In order to obtain domain name or IP address mapping run command line and type nslookup.


You may also like:

Windows Server 2012 Mailbox Role Process Execution... If you are trying to install Exchange 2010 on Windows Server 2012 and are receiving the error "Mailbox Role Process Failed.... Process execution faile...
Configure Data Deduplication on Windows Server 201... In this tutorial we will show you a fast and easy way to configure Data Deduplication via Powershell. At first we need to add role for deduplicatio...
Performing a System State Backup in Windows Server... Follow the instructions below to perform a system state backup in Windows Server 2003. We realize this is an old operating system, but there are a lot...
How to Install and Configure IIS Web Server with P... This guide will show you how to deploy your own IIS Web server, and enable it to run PHP on Windows 8 / Windows Server 2012. Thereafter this platform ...
How to create your own Cloud Storage Server In this tutorial, we are going to show you how to create your own cloud storage server. Head over to http://www.cloudways.com/ and click on Free Tr...