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.

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).

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:

How to Truncate SQL Transaction Logs Transaction logs in SQL Server 2012 tend to grow over time, which can sometimes fill all your available disk space. To avoid this, SQL Server has Trun...
Config Remote Desktop Easy Print on Server 2012 R2 TS Easy Print technology was first introduced in Windows Server 2008 as an alternative to the use of traditional printing subsystem on Remote Desktop ...
How to Setup FTP Server in Windows 10 Nowadays the FTP technology is awesome and we decided to show how to setup and access an FTP server in Windows 10 in a simple way. How to create FTP ...
Renaming a Computer with SQL Server Instance After SQL Server installation internal SQL Server is based on the host computer name. However, when you are changing the host name, old SQL server nam...
Fixing DNS Server Not Responding Error on Windows ... Let's discuss a quite frequent problem, when user could not access Internet on the Windows computer. The problem is related to the inaccessible DNS se...

Add Your Comment