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
- Get into the DNS module.
- Select Config menu. On the Configuration page, navigate to the DNS Recursion Settings tab.
- The DNS Recursion Settings page appears. Here enter the following essential details:

- 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.
- 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.
- 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.
- 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.
- 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.
- Click Save to apply the settings.
Benefits of configuring DNS recursion properly:
- Optimized Query Response: Proper timeout and retry settings ensure that DNS queries are resolved efficiently, reducing wait times for end-users.
- Enhanced Security: Enabling secure responses helps protect against DNS spoofing and other attacks, ensuring the integrity of DNS responses.
- 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.