Get 50% Discount Offer 7 Days


Contact Info

Chicago 12, Melborne City, USA

+88 01682648101

[email protected]

Recommended Services
Supported Scripts
2 ways to configure dns Server on Admin rdp

If you want to know how to configure a DNS server on admin RDP, the following article will be a helpful guide for you. You can use two practical methods for this. Also, this article contains the installation process in two ways, configuration of the DNS server and removing the DNS server role.

How to Configure DNS Server on Admin RDP

Before we start to explain the way to install and configure DNS, there are some requirements that you have to prepare. So let’s analyze them first. Then we will discuss how to install and configure DNS Server using PowerShell and GUI and we will teach you step by step.


– An admin RDP server

– An administrator group member or equivalent

– A valid static IP

Installing DNS Server

We can install and configure admin RDP in two different ways. These two methods include a graphical user interface and PowerShell. Now let’s examine each one.

If you prefer to install Active Directory Domain Services and use the installation wizard, you have the automatic install option and configure a DNS server. In this way, the DNS zone is merged with the AD DS namespace. But if you decided to do the installation manually (as a standalone server), go through the steps below:

How to Install DNS Server Using PowerShell

You can use the install-Windowsfeature command below to install the DNS server role.

First, in an elevated session, Run PowerShell on your system by searching for PowerShell from the Start Menu.

Second, apply the following command to install the DNS role. Here you don’t need to reboot:

Install-WindowsFeature -Name DNS

How to Install DNS Server Using GUI on Admin RDP

Use the server manager of your Windows desktop to install the DNS server role and follow the instructions:

– The first step here is to click on the Start Menu on the desktop and select the Server Manager option.

How to congifure dns server on rdp

– Then go to the Manage part and choose to Add Roles and Features option.

add roles and features in server manager

– Now you will visit the Before You Begin and click on Next to begin.

before you begin section in server manager

– On this page, go to the Select Installation Type, select the Role-based or featured-based option, and press on the Next button.

Role-based or featured-based option

– Here, you can select the destination. Go to the Select Destination Server and leave it as default, then press Next.

 select destination server on server manager

– To select server roles, you can go to the Select Server Roles option, then mark the DNS Server checkbox and click Next. In this part, you should add features that are required for DNS. If the default setting is acceptable to you, press Add Features.

configure dns server on admin rdp


add roles and features (dns server)


add roles and features (dns server) on admin rdp

– On the next page, you can leave the setting as default and select next.

add roles and features (dns server) on admin rdp

– Now you can see the DNS server page, review the descriptions carefully and press next.

dns server configure on server

– Here, you should confirm your installation selections by reviewing the selected roles and features, and at the end select the Install button to begin the installation.

confirm dns server installation on admin rdp server

– When you complete the installation press the close button, and take note that there’s no need to reboot.

dns server installation progress

Configure DNS Server on Admin RDP

As you finished the installation part, it’s time to set the configuration for your DNS server. A DNS server can listen for requests on all IP address interfaces. But you can configure the DNS server to listen for a specific interface using PowerShell or GUI.

Configure DNS Using Powershell

If you want to set the configuration using PowerShell, follow the instructions here:

– First, you should go through set-DNSServerSetting.

– In an elevated session, run PowerShell on your system.

– Apply the related command to find your system’s exciting IP address and make a note of that:

Get-NetIPAddress | fl IPAddress,InterfaceAlias

– Here, you should store the current setting in an impermanent variable and adjust the ListeningIpAddress. Then apply your new settings using the following command. Replace the <IP_Address> with the IP you stored before:

DnsServerSettings = Get-DnsServerSetting -ALL
DnsServerSettings.ListeningIpAddress = @("")
Set-DNSServerSetting $DnsServerSettings

Configure DNS Using GUI

– The first step is to open the Start Menu and go to the Windows Administrative Tools then DNS.

windows administrative tools


windows administrative tools

– Next, you can Right-click on your server and choose Properties.

dns settings on admin rdp

– By selecting Only the following IP addresses and choosing the IP address you wish to use, you can limit the DNS server to use a specific IP address.

ip address of dns server

Configuring Root Hints Server on Admin RDP

You can use Root hints servers for resolving DNS address information, for the time when the DNS server is unable to resolve the query locally from a hosted zone or DNS cache. The root hint name server is populated by default in your new installations. Again you can use PowerShell or GUI to edit the list of root name servers.

Actually, you can not remove all root hint servers, But you can go through this pass to disable it.

Configure Root Hints Using PowerShell

Go to the DNS manager console and choose advanced tab. Select the disable recursion server option. This act will disable any configured forwarders.

To start the instruction to configure root hints server, you should apply the Set-DnsServerRootHint command. Now follow the steps below:

– Execute PowerShell on your system In an elevated session.

– Run the Get-DnsServerRootHint cmdlet command to find your system’s IP address. Notice that you should save the name server:


– Use the following command to save the current DNS server setting in a variable and put the placeholder of <root-hint-name-server> instead of the stored root hint name server.

RootHintServer = (Get-DnsServerRootHint | Where-Object {$_.NameServer.RecordData.NameServer -match ""} )

– You can use the following commands to configure the Ipv4address property in temporary variable:

RootHintServer.IPAddress[0].RecordData.Ipv4address = ""

– Use the command below to insert the updated record:

Set-DnsServerRootHint $RootHintServer

– At last, if you want to check the updated root hints, use the following command:


Configuring Root Hints Using GUI

Here, you can use the Manager console to root hints:

– Go to the Start Menu and then Window Administrative Tools, and select DNS.

– Right-click or select on your server and choose properties.

– Choose the Root hints tab and select your item and choose edit.

configuring root hints using gui

– Now you should enter the domain name and click on Resolve. You should verify your IP address and edit if necessary.

how to configure root hints on admin rdp

– Click on Ok button.

– As the last action, check the updated root hint server in the list and when your done, click on ok.

Configuring Forwarders on Admin RDP

This part is optional and it is to configure a forwarder to resolve DNS address information. You can use PowerShell or GUI for this reason.

Tip: You should use the DNS root hints Just the time your forwarders fail to response.

Configure forwarder using PowerShell

By using Install-WindowsFeature command, you can install DNS server role. In the same direction follow the instructions below.

– In an session, execute PowerShell on your system.

– Put the placeholders <ip_forwarder_1> and <ip_forwarder_2> instead of IP address of the DNS server, to be used as your forwarders and run the command below:

$Forwarders = "",""
Set-DnsServerForwarder -IPAddress $Forwarders

Configure forwarder using GUI

Here, we will show the way of configuring forwarder using GUI. So follow the steps:

– Go to start menu and select Windows Administrative Tools then DNS.

– Right-click on your server and select Properties.

– Choose the forwarders tab and click on Edit.

configure forwarder using gui on admin rdp

– Enter DNS IP address to forward requests to. You should repeat this action as many time as it is needed and select Ok.

how to setup forwarder on admin rdp

– As the last action, check the DNS server in the list. Select Ok and confirm configuration.

Remove DNS Server Role

Follow the instruction in this section to remove DNS server:

Remove DNS Using PowerShell

Use the following command in an elevated prompt:

Uninstall-WindowsFeature -Name DNS

Remove DNS Using GUI

– Go to the Start menu and select the Server Manager.

– Go to the Manage part and select Removes roles and features .

– Here, you will encounter Before you begin page and select Next.

– On Destination page, choose the serer that you want to remove DNS server role service from and click Next.

– On the list, you should clear the DNS server checkbox . In this part, you should remove features that requires DNS server. Select Remover Features and click on Next button.

– Here, on the Remove Features page, Leave the default setting and press Next button.

– Then you will see Confirm Removal Selections page, check the selected roles and features and choose Remove.

– As you removed the roles and features, select Close.

– At last, restart your system and complete the uninstallation process.

Tip: Pay attention to these points as you are removing the DNS server role service:

– If a DNS server is hosting AD DS-integrated zones, the saving or deleting action will be done according to their storage type.

– If a DNS server is hosting standard DNS zones, the zones file will be stayed in the %systemroot%\System32\Dns directory, but you can reload them if the DNS server is reinstalled.


This article tried to show you the way to install and configure DNS server on Admin RDP. Also we tried to give a complete explanation of DNS server configuration steps, so that, you will encounter no problem during the installation. If you have any questions or if you know any other method please share.


Which one is faster; DNS or VPN?

A smart DNS is faster than VPN because it only changes your DNS address while a VPN encrypts data traffic and spoof the location by changing your IP.

Can DNS effects your internet speed?

DNS is not related to internet speed in a direct way, but it can influence the speed of appearing individual webpage on your computer.

Rate this post
Share this Post

Leave a Reply

Your email address will not be published. Required fields are marked *