How to set up DNS Server on Windows Cloud Servers

2020-06-15 By Ryan 4868 Views windows dns networking
0 reviews

Domain Name System (DNS) is one of the standard set of protocols that includes TCP/IP. The DNS Client and the DNS Server together provide a mechanism of the server name to IP address mapping name resolution services for servers and their users. Microsoft DNS is the most common domain name system service provided in Microsoft Windows operating systems.


Setting up a DNS server on Windows involves installing the DNS Server Role, which can be done through both the GUI method as well as through Windows PowerShell. This guide will outline the basic steps in setting up the DNS server on a Windows machine.


Installing DNS Server through GUI


  1. Click on Start icon and then click on Server Manager to open the dashboard.

    win22dnsserver1

  2. From the Quick Start section, click on Add roles and features.

    win22dnsserver2

  3. In the Add Roles and Features Wizard window, click on Next under Before You Begin section.

    win22dnsserver3

  4. In the Installation Type section, select the radio button for Role-based or feature-based installation and then click on Next.

    win22dnsserver4

  5. Under Server Selection, choose the server name on which the role/feature is to be installed from the Server Pool list, and then click on Next.

    win22dnsserver5

  6. From Server Roles section, select the check-box near to DNS Server.


    A separate window will show up from which additional features required for the DNS Server can be selected. Make sure that Include management tools option is selected in this window. Click on Add Features.

    win22dnsserver6

  7. Click on Next after making sure that the DNS Server option is checked.

    win22dnsserver7

  8. Click on Next in the next two sections for Features and DNS Server, without making any changes.

    win22dnsserver8

    win22dnsserver9

  9. In the Confirmation window, click Install to start the installation of the DNS server.

    win22dnsserver10

  10. The installation process will take some time. Once it is completed, a message confirming that the installation has been successful will show up. Click on Close to exit the wizard.

    win22dnsserver11


Installing DNS Server through Windows PowerShell

Installing the DNS Server through Windows PowerShell is pretty much an easier process, which requires executing the below command through PowerShell.

Install-WindowsFeature DNS -IncludeManagementTools

win22dnsserver12


Accessing DNS Server management console

Once the installation has been completed, the DNS Server console can be accessed from either Server Manager or from under Windows Administrative Tools.

win22dnsserver24

win22dnsserver14


The DNS Server console can be used to create DNS zones for websites, containing the DNS records associated with the website. The below steps can be followed for creating a forward lookup zone for a website. The DNS server used in this context is named LS-SERVER and the sample website that has been used is lssupport.com.


  1. Open the DNS Manager console.

    win22dnsserver15

  2. Expand the DNS Server from the left panel, right-click on Forward Lookup Zones and then click on New Zone….

    win22dnsserver16

  3. Click Next in the New Zone Wizard.

    win22dnsserver17

  4. Primary Zone will be selected as the default option; this can be changed accordingly. Click on Next.

    win22dnsserver18

  5. Type in the website name in the Zone name field and then click on Next.

    win22dnsserver19

  6. Click on Next to create a new zone file for the website. The zone file will be named as <websitename>.dns.

    win22dnsserver20

  7. Select the zone update type in the next window. The default setting for this would be Do not allow dynamic updates. Click on Next.

    win22dnsserver21

  8. A new zone for the website will now be created. Click on Finish to close the wizard.

    win22dnsserver22

  9. Once the zone has been created, right-click on the website zone name to add the required DNS records (E.g. A, CNAME & MX, etc.) for the website.

    win22dnsserver23


Related Tutorials

What do you think about this article?

Rate this article
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.