Advance

How to configure DNS Forwarding in Windows Server 2012 R2 version

How to configure DNS Forwarding in Windows Server 2012 R2 version
1
(1)

This article is a step-by-step tutorial on how to configure DNS forwarding in Windows Server 2012 R2 version. In the continuation of this tutorial, we will teach you how to create a DNS forwarder using DNS Manager and PowerShell.

Simply put, DNS forwarding is asking for help finding an address. The default method is that DNS server sends queries that cannot be answered to a list of DNS servers on the Internet called root hints.
But if DNS forwarding is configured, it sends queries to the destination we call the forwarder.

How to configure DNS Forwarding in Windows Server 2012 R2 version

DNS server installation on Windows Server is done with the help of DNS manager or PowerShell.

Recommended Article: Tutorial Install SQL Server 2019 Developer Edition on Windows Server

How to create a DNS forwarder using DNS Manager

In the server where the DNS server roll is installed, open Sever Manager and then go to Tool> DNS to enter DNS Manager.

create a DNS forwarder using DNS Manager in server manager

 

Right-click on the DNS Server name and click Properties.

setting server manager to create a DNS forwarder

 

Enter the Forwarder tab and click Edit.

create a DNS forwarder

 

Enter the IP address of the other DNS server (forwarder) and then press Enter. If the IP address is valid, a green tick will be displayed. Do this for each other forwarder server.

IP address of the DNS server

 

Click OK to save the settings.

How to create a DNS forwarder using PowerShell

As we said, you can do this with PowerShell as well. To do this, enter the following command:

Add-DnsServerForwarder –IPAddress < IP Address >

The following command is used for the same purpose:

Set-DnsServerForwarder –IPAddress < IP Address >

Just enter the relevant IP address to execute the command correctly. You can add multiple forwarders in one command by separating their IP addresses using commas (,). Note that there is a difference between the above two commands. The Add command adds the specified forwarder to the list of forwarders, but the Set command replaces the existing forwarders with the specified IP address.

You can see an example of putting the IP address in the forwarder command in the image below.

putting the IP address in the forwarder command

How to work with DNS Forwarding on Windows DNS server

Before configuring DNS forwarding, you need to make sure that recursion is not disabled. DNS forwarding requires recursion to request information from forwarders for clients.

By default, recursion is enabled, but in some cases, it may be disabled. To check this, you need to enter the DNS server settings and go to the Advanced tab. Then in the Server Option section, make sure that the disable recursion option is not checked.

advanced settings of server manager to create dns forwarder

 

Conclusion

This article teaches you how to configure DNS Forwarding in Windows Server 2012 R2 version using DNS manager and PowerShell. Then the steps for creating a DNS forwarder were explained with pictures. If you are interested in MikroTik, you can refer to the DNS configuration tutorial in MikroTik.

How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

12 thoughts on “How to configure DNS Forwarding in Windows Server 2012 R2 version

    1. To create other zones in a DNS server with the current nameservers (for example ns1.yourdomain.com and ns2.yourdomain.com) just use the nameservers and corresponding IPs in the name servers section associated with each zone. Finally, set the relevant nameservers on them through the domain control panel.

    1. This is because if the DNS Server configured as DNS Forwarder fails to respond to queries, it will send them to the DNS Servers on its Forwarders list.

    1. Windows-based DNS servers, when installed on a server, have a list of Public IP addresses by default that send Name Resolution requests to Internet addresses to those IP addresses that are in the Public IP addresses that DNS servers are actually Internet so-called DNS Root Hints.

    1. If you have more than one DNS Server on the network, you can set two or more as DNS Forwarder. In terms of network performance, setting up one DNS server as a forwarder is more efficient than setting up multiple DNS servers as a forwarder because of the query-based DNS service mechanism.

Leave a Reply

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

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day