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  Can I Delete Swapfile.sys in Windows 10?

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  Increase Your Internet Speed with Open DNS

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 Server 2012 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 a lo...
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...
How to backup WSUS database The Software Update Point (SUP) role in System Center Configuration Manager is closely related and dependent on Windows Server Update Services (WSUS)....
How to Install VPN Server on Windows Server 2012 R... In this article we will take a look on how to install VPN server on Windows Server 2012 R2. VPN (virtual private network) technology is used to create...
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...