Configuring DNS Recursion and Forwarder settings

Configuring DNS Recursion and Forwarder settings

 

 

Configuring DNS Recursion and Forwarder Settings

Configuring DNS recursion settings

 

DNS recursion is a process where a DNS server queries other DNS servers to resolve a domain name that is not within its own authoritative zones. Configuring DNS recursion settings is crucial for optimizing query responses and ensuring the security of your DNS infrastructure. The image illustrates the interface for configuring DNS recursion settings in a Microsoft DNS environment.

 

How to configure DNS recursion settings
 

  1. Get into the DNS module.
     
  2. Select Config menu. On the Configuration page, navigate to the DNS Recursion Settings tab.
     
  3. The DNS Recursion Settings page appears. Here enter the following essential details:



     
  4. ADDITIONAL TIMEOUT: Specify the additional time (in seconds) the DNS server will wait for a response after the initial timeout period has expired. This helps in extending the wait time for responses from remote servers, which can be useful in environments with network latency. 

    Note: We recommend setting the value within the range of 0x00000000 to 0x0000000F (0 to 15 seconds), inclusive of 0 and 15. While you can use any value, we suggest a default value of 4.
     
  5. RETRY INTERVAL: Define the interval (in seconds) between retry attempts when the DNS server does not receive a response. This property determines how frequently the DNS server will retry the query to get a response from another DNS server.
    Note: If the property is left undefined or zero, the DNS server will retry after three seconds. Valid values range from 1 to 15 seconds.

    Generally, we recommend keeping this property unchanged. However, there are specific situations where adjusting it may be beneficial. For instance, if a DNS server communicates with a remote server over a slow connection and retries the lookup before receiving a response, consider increasing the retry interval to just above the typical response time observed.
     
  6. TIMEOUT: Set the total time (in seconds) the DNS server will wait for a response before giving up on the query. This helps in determining the maximum wait time for responses to DNS queries, ensuring timely query resolution.

    Note: The valid range for this property is from 0x1 to 0xFFFFFFFF, corresponding to 1 second to 15 seconds. The default setting is 0x8, which is 8 seconds. We recommend increasing this value when recursion happens over a slow link.
     
  7. RECURSION ENABLE: Toggle to enable or disable DNS recursion on the server. When enabled, the DNS server will perform recursive queries to resolve domain names. When disabled, the server will only respond to queries for which it is authoritative.
     
  8. SECURE RESPONSE: The property determines whether a DNS server filters DNS records against the zone of authority for the remote server to prevent cache pollution. Selecting Yes, the DNS server caches only records that belong to the queried remote server's zone of authority. Selecting No leads the recursion server to cache all the records from the remote server.
     
  9. Click Save to apply the settings.
     

Benefits of configuring DNS recursion properly:
 

  1. Optimized Query Response: Proper timeout and retry settings ensure that DNS queries are resolved efficiently, reducing wait times for end-users.
     
  2. Enhanced Security: Enabling secure responses helps protect against DNS spoofing and other attacks, ensuring the integrity of DNS responses.
     
  3. Improved Reliability: By configuring appropriate retry intervals and timeouts, the DNS server can handle network latency and temporary failures more gracefully, improving overall reliability.

 

Configuring DNS recursion settings in Microsoft DNS is essential for ensuring efficient, secure, and reliable resolution of domain names. By adjusting timeout values, enabling recursion, and securing responses, administrators can optimize their DNS infrastructure to meet the specific needs of their network environment.

 


                  New to ADSelfService Plus?

                    • Related Articles

                    • Configuring DNS cache settings for Microsoft DNS infrastructure

                      Configuring DNS Cache settings for Microsoft DNS infrastructure What is DNS Cache? DNS cache is a temporary storage mechanism on a DNS server or client that stores the results of DNS query resolutions. When a device or DNS server resolves a domain ...
                    • 48. DNS options

                      Option Name Option Description Data Type Block Tags Supported Versions Example Grammar allow-new-zones Controls whether zones can be added to the BIND nameserver at runtime using rndc addzone. The default value is no. If set to "yes," the BIND server ...
                    • Configuring Response Rate Limiting settings

                      Configuring DNS Response Rate Limiting (RRL) settings Response Rate Limiting (RRL) is a security feature designed to mitigate the impact of DNS amplification attacks by limiting the rate of responses a DNS server can send to a client. Configuring RRL ...
                    • 22. Configuring Response Rate Limiting (RRL) settings

                      Configuring DNS Response Rate Limiting (RRL) settings Response Rate Limiting (RRL) is a security feature designed to mitigate the impact of DNS amplification attacks by limiting the rate of responses a DNS server can send to a client. Configuring RRL ...
                    • Configuring DNS client subnets

                      Configuring DNS Clientsubnets Client subnets in Microsoft DNS, are named groups of IP subnets that allow DNS servers to provide more specific responses based on the client’s location or network segment. A client subnet is identified by a name and ...