I want to know how DNS forwarding works in MS DNS.

abhishek sharma 1 Reputation point
2020-08-13T15:39:47.853+00:00

My MS DNS is configured with three IP's in forwarding policy. Which IP the DNS query will be sent to amount three IP's.
Basically I want to know the whole packet flow when MS DNS decides to do forwarding.

Bind supports RTT when it comes about forwarding. Does MS also support it?

Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,014 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Gloria Gu 3,886 Reputation points
    2020-08-14T03:27:13.103+00:00

    Hi,

    In regards to your issue, here're my suggestions:

    1. If you configure three forwarders in DNS server, the DNS queries are as follows:

    (1) Client queries the DNS server. DNS server immediately forwards the query to its first forwarder

    (2) After <forwarding_timeout> seconds, if the first forwarder didn’t reply, the DNS server queries the second forwarder

    (3) After <forwarding_timeout> +1 more seconds, if the second forwarder didn’t reply, the DNS server queries the third forwarder

    (4) During this time, after one of three forwarders answering the query, next time the query with this DNS suffix will be sent to this forwarder first.

    1. The Microsoft DNS Server support RTT. DNS server uses (RTT) to choose between name servers authoritative for the same zone. Roundtrip time is a measurement of how long a remote name server takes to respond to queries. When the name server must choose which of a group of authoritative name servers to query, it simply chooses the one with the lowest roundtrip time.

    For more details, you can refer to the following links:
    https://support.microsoft.com/en-us/help/2834250/net-dns-forwarders-and-conditional-forwarders-resolution-timeouts
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/3350e02b-86d6-473e-a653-28fe19703be7/microsoft-dns-server-and-rtt?forum=winserverNIS#:~:text=The%20Microsoft%20DNS%20Server%20uses,it%20starts%20an%20internal%20stopwatch.

    -------If my answer is helpful to you, please remember to mark them as answer. Thank you!------

    Regards
    Gloria

    2 people found this answer helpful.

  2. Falcon IT Services 226 Reputation points
    2020-08-13T16:09:44.763+00:00

    Hello Abhisheksharma,

    Yes it does forwarding (as long as the disable recursion checkmark is not selected in the advanced tab).

    You can set forwarding servers as follows:

    Log into the DNS Server as an administrator. Click Start and type DNSMgmt.msc, then press enter to open the DNS Management Console. Locate the server in the list, then right click and choose properties. Navigate to the Forwarders tab and add your forwarding DNS servers. If you do not set forwarders it will use root servers for queries.

    Here's a MS DNS server quick setup guide:

    https://www.hostwinds.com/guide/setup-configure-dns-windows-server/

    Here is a link to details about RTT question:

    https://social.technet.microsoft.com/Forums/en-US/3350e02b-86d6-473e-a653-28fe19703be7/microsoft-dns-server-and-rtt?forum=winserverNIS

    0 comments No comments