Install DNS server role

Installation of DNS server role is possible by using Server Manager, or by using Windows PowerShell.

Install DNS server role using Server Manager

To install DNS server role with Server Manager, use the below steps

  1. Sign in to the target server as a local administrator.
  2. Open Server Manager.
  3. In Server Manager, click Manage and then click Add Roles And Features.
  4. In the Add Roles And Features Wizard’s Before You Begin page, click Next.
  5. On the Select Installation Type page, click Role-Based or Feature-Based Installation, and click Next.
  6. On the Select Destination Server page, select the server from the Server Pool list, and click Next.
  7. In the Roles list on the Select Server Roles page, select the DNS Server.


    Installing DNS Server role by Server Manager

  8. In the Add Roles And Features Wizard pop-up dialog box, click Add Features, and then click Next.
  9. On the Select features page, click Next.
  10. On the DNS Server page, click Next.
  11. On the Confirm Installation Selections page, click Install. When the installation is complete, click Close.

Install DNS server role using PowerShell

To install the DNS server role and all related management tools by using Windows PowerShell, use the below steps:

    1. Sign in to the target server as a local administrator.
    2. Open an elevated Windows PowerShell window.
    3. At the Windows PowerShell prompt, type the following command and press Enter: Add-WindowsFeature DNS -IncludeManagementTools

Install DNS Server role using PowerShell

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: