Advance

How to configure DNS Forwarding in Windows Server 2012 R2 version

How to configure DNS Forwarding in Windows Server 2012 R2 version

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.

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

    What are the benefits of setting up a DNS as a Forwarder?

    Reply
    • Dani
      Dani
      4 months ago

      It saves your network bandwidth and greatly increases the response time to queries.

      Reply
  • Anna
    Anna
    4 months ago

    If we set up more than one DNS server in the network, what will be the forwarder settings in it?

    Reply
    • Dani
      Dani
      4 months ago

      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.

      Reply
  • Jacob
    Jacob
    4 months ago

    What is DNS Root Hints?

    Reply
    • Dani
      Dani
      4 months ago

      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.

      Reply
  • Ruth
    Ruth
    4 months ago

    Why does DNS Server forward Resolve requests?

    Reply
    • Dani
      Dani
      4 months ago

      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.

      Reply
  • Eric
    Eric
    4 months ago

    What is DNS Forwarder and what does it do?

    Reply
    • Dani
      Dani
      4 months ago

      DNS Forwarder is a DNS server which, as its name implies, is for forwarding DNS queries to DNS servers outside the network.

      Reply
  • Kathleen
    Kathleen
    4 months ago

    What to do to create other zones in a DNS server?

    Reply
    • Dani
      Dani
      4 months ago

      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.

      Reply

Leave Your Comment

Your email address will not be published.

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

+18054214518

7 days a week, 24 hours a day