Article ID: 304491 - Last Review: December 3, 2007 - Revision: 6.4 Conditional Forwarding in Windows Server 2003This article was previously published under Q304491 On This PageSUMMARY This article describes the Conditional Forwarding feature
that is included in Windows Server 2003. A Windows Server 2003-based DNS server
can use conditional forwarding to forward queries to other DNS servers based on
the DNS domain names that are in the queries. For example, with conditional
forwarding, a Windows Server 2003-based DNS server could be configured to
forward all of the queries it receives for names that end with
sales.microsoft.com to a specific DNS server's IP address, or to the IP
addresses of multiple DNS servers. Only Windows Server 2003-based servers can
be configured to do this forwarding, but the servers that are running DNS and
that receive these forwarded queries can be running any version of DNS.
MORE INFORMATIONIntranet Name ResolutionIn addition to the benefits of forwarders, conditional forwarding allows for more specific name resolution for off-site and internal domains. Conditional forwarding can benefit internal name resolution by configuring DNS servers with specific forwarders for internal domain names. For example, all name servers in the microsoft.com domain could be configured to forward queries for names that end with marketing.microsoft.com to the authoritative server for marketing.microsoft.com, and this removes the step of querying the internal root servers of microsoft.com, if available, or removes the step of configuring DNS servers in the microsoft.com zone with secondary zones for marketing.microsoft.com.Internet Name ResolutionDNS servers can use forwarding as a means of resolving queries between the domain names of companies that share information. For example, two companies, Company1 and Company2, allow clients of Company1 to resolve the names of the DNS clients of Company2. The administrators from Company2 inform the administrators of Company1 about the set of DNS servers in the Company2 network where Company1 DNS servers can send queries for the domain company2.com. The DNS servers within the Company1 network are configured to forward all queries for names that ending with company2.com to the designated DNS servers in the Company2 company. Consequently, the DNS servers in the Company1 network do not need to query their internal root servers, or the Internet root servers, to resolve queries for names that end with company2.com.Using Conditional ForwardersRather than having a DNS server forward all queries it cannot resolve to forwarders, the DNS server can forward queries for different domain names to different DNS servers according to the specific domain names that are contained in the queries. Forwarding according to these domain-name conditions improves conventional forwarding by adding a second condition to the forwarding process.A conditional forwarder setting consists of a domain name and the IP address of one or more DNS servers. To configure a DNS server for conditional forwarding, a list of domain names is set up on the Windows Server 2003-based DNS server along with the DNS server IP address. When a DNS client or server performs a query operation against a Windows Server 2003-based DNS server that is configured for forwarding, the DNS server looks to see if the query can be resolved by using its own zone data or the zone data that is stored in its cache, and then, if the DNS server is configured to forward for the domain name that is designated in the query (a match), the query is forwarded to the IP address of a DNS Server that is associated with the domain name. If the DNS server has no domain name listed for the name that is designated in the query, it attempts to resolve the query by using standard recursion. Forwarding SequenceA DNS server that is configured for forwarding uses forwarders after it has determined that it cannot resolve a query by using its authoritative data (primary or secondary zone data) or cached data. If the server cannot resolve a query by using forwarders, it may attempt recursion.The order of the IP addresses determines the sequence in which the IP addresses are used. After the DNS server forwards the query to the forwarder with the first IP address that is associated with the domain name, it waits a short period for an answer from that forwarder (according to the DNS server's time out setting) before it resumes the forwarding operation with the next IP address that is associated with the domain name. It continues this process until it receives an affirmative answer from a forwarder. Unlike conventional resolution, where a roundtrip time (RTT) is associated with each server, the IP addresses in the forwarders list are not ordered according to roundtrip time and must be reordered manually to change preference. Notes
| Article Translations
|
Back to the top
