# Patent

## Title
Request routing processing

## Abstract

Generally described, the present disclosure is directed to managing request routing functionality corresponding to resource requests for one or more resources associated with a content provider. A service provider can assign a set of DNS servers corresponding to a distributed set of network addresses, or portions of network addresses, for one or more identifiable domains. If the service provider receives requests to assign a DNS server to conflicting domains, the set of DNS servers for each identifiable domain are assigned such that there are no matching network addresses between the sets of domains associated with the conflicting domains. Thereafter, DNS resolver components can be configured such that DNS queries may be resolved in accordance with a determination of an authoritative DNS server based on the identified destination address associated with the DNS queries.

## Background
BACKGROUND
Generally described, computing devices and communication networks can be utilized to exchange information. In a common application, a computing device can request content from another computing device via the communication network. For example, a user at a personal computing device can utilize a software browser application to request a Web page from a server computing device via the Internet. In such embodiments, the user computing device can be referred to as a client computing device and the server computing device can be referred to as a content provider.
Content providers are generally motivated to provide requested content to client computing devices often with consideration of efficient transmission of the requested content to the client computing device or consideration of a cost associated with the transmission of the content. For larger scale implementations, a content provider may receive content requests from a high volume of client computing devices which can place a strain on the content provider's computing resources. Additionally, the content requested by the client computing devices may have a number of components, which can further place additional strain on the content provider's computing resources.
In some embodiments, the content providers can utilize one or more service providers, such as content delivery network service providers and network storage service providers, to provide services related to the delivery of requested content. In a similar manner, service providers are generally motivated to provide services, such as hosting DNS request processing services or providing content to client computing devices, often with consideration of the efficiency and cost associated with the requested services. For example, service providers often consider factors such as latency of delivery of requested content in processing client computing device requests (either DNS queries or content requests) in order to meet service level agreements or to generally improve the quality of delivered service. However, traditional network routing methodologies limit the service provider to provide DNS request routing services from the same DNS server components for all DNS requests associated with the same domain.



BRIEF DESCRIPTION OF THE DRAWINGS
The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
FIG. 1 is a block diagram illustrative of a content delivery environment including a number of client computing devices, a content provider, a network storage provider, and a content delivery network service provider;
FIG. 2 is a block diagram of the content delivery environment of FIG. 1 illustrating the registration of a content provider with a network storage provider;
FIGS. 3A and 3B are block diagrams of the content delivery environment of FIG. 1 illustrating the registration of a content provider with a service provider for providing request routing services on behalf of the content provider and the configuration of a DNS resolver component with specific DNS server configurations for a content provider domain;
FIGS. 4A and 4B are block diagrams of the content delivery environment of FIG. 1 illustrating the processing of multiple request routing requests by a service provider on behalf of the content provider;
FIG. 5 is a flow diagram illustrative of a content provider request routing registration processing routine implemented by a service provider; and
FIG. 6 is a flow diagram illustrative of a DNS query processing routine implemented by a service provider.



DETAILED DESCRIPTION
Generally described, the present disclosure is directed to managing request routing functionality corresponding to resource requests for one or more resources associated with a content provider. Aspects of the disclosure will be described with regard to the management and processing of request routing functionality by a service provider, such as a content delivery network (“CDN”) service provider, on behalf of an entity requesting the request routing functionality, such as a content provider. Illustratively, the request routing functionality can correspond to the processing, by computing devices associated with the service provider, such as a DNS server component associated with a specific network address, of domain name service (“DNS”) requests on behalf of a content provider. The service provider DNS server components resolve the received DNS queries by identifying a network address of a computing device that will provide requested resources, such as a cache component. Additionally, in some embodiments content provider domains may be configured such that different sets of clients, through configured DNS resolver components, transmit DNS queries for the same content provider domain to different sets of DNS server components of the service provider. For example, a content provider domain may be configured such that a first set of selective clients transmit DNS queries to a first set of DNS server components associated with the service provider while a larger set of clients transmit DNS queries to a second set of DNS server components of the same service provider.
Specifically, in one embodiment, the service provider can assign two or more sets of DNS server components that will be authoritative for DNS queries to an identified content provider domain on behalf of a content provider. The assigned DNS server components correspond to network addresses that are selected by the service provider from a distributed set of service provider network addresses in a manner that takes into consideration a number of aspects. In one aspect, the service provider can implement processes for ensuring that no two domains, regardless of the owner, are serviced by service provider DNS server components in which the set of DNS server components have matching network addresses. In another aspect, the service provider can implement processes for ensuring that, for a specific domain, the portion of the network addresses of the assigned DNS server components significant for network routing purposes do not having matching values and that the portion of the network addresses of the assigned DNS server component not significant for network routing purposes also do not have matching values. In a further aspect, the service provider can implement processes for ensuring that, for a specific domain, the two or more sets of assigned DNS server components do not have any overlapping portions of the network addresses.
Although various aspects of the disclosure will be described with regard to illustrative examples and embodiments, one skilled in the art will appreciate that the disclosed embodiments and examples should not be construed as limiting. For example, the present disclosure may be described with regard to request routing services provided by a service provider, such as a CDN service provider, that may provide additional services and functionality including network-based storage services, caching services, and content delivery services. However, one skilled in the relevant art will appreciate that a service provider need not provide all, or any, of the additional services or functionality that may be associated with some service providers, such as a CDN service provider. Likewise, although the present application will be discussed with regard to a content provider as the requestor of services, such as the DNS request processing services, the one skilled in the relevant art will appreciate that the requestor of the service need not provide any additional functionality that may be otherwise attributed to content providers.
FIG. 1 is a block diagram illustrative of content delivery environment 100 for the managing registration of a content provider with a service provider, such as a CDN service provider, and subsequent processing of at least a portion of content requests on behalf of the content provider. As illustrated in FIG. 1, the content delivery environment 100 includes a number of client computing devices 102 (generally referred to as clients) for requesting content from a content provider, a network storage provider 110, and/or a service provider 106. In an illustrative embodiment, the client computing devices 102 can correspond to a wide variety of computing devices including personal computing devices, laptop computing devices, hand-held computing devices, terminal computing devices, mobile devices, wireless devices, various electronic devices and appliances and the like. In an illustrative embodiment, the client computing devices 102 include necessary hardware and software components for establishing communications over a communication network 108, such as a wide area network or local area network. For example, the client computing devices 102 may be equipped with networking equipment and browser software applications that facilitate communications via the Internet or an intranet.
As also illustrated in FIG. 1, each client computing device 102 utilizes some type of local DNS resolver component 103, such as a DNS Name server, that generates the DNS queries attributed to the client computing device. In one embodiment, the local DNS resolver component may be provided by an enterprise network to which the client computing device 102 belongs. In another embodiment, the local DNS resolver component 103 may be provided by an Internet Service Provider (ISP) that provides the communication network connection to the client computing device 102. As will be described in greater detail below, in an illustrative embodiment, the DNS resolver components 103 can be configured such that DNS queries associated with the same domain (e.g., htpp://www.domain1.com) will be directed to different sets of DNS server components of the service provider.
The content delivery environment 100 can also include a content provider 104 in communication with the one or more client computing devices 102 via the communication network 108. The content provider 104 illustrated in FIG. 1 corresponds to a logical association of one or more computing devices associated with a content provider. Specifically, the content provider 104 can include a web server component 112 corresponding to one or more server computing devices for obtaining and processing requests for content (such as Web pages) from the client computing devices 102. The content provider 104 can further include an origin server component 114 and associated storage component 116 corresponding to one or more computing devices for obtaining and processing requests for network resources. One skilled in the relevant art will appreciate that the content provider 104 can be associated with various additional computing resources, such additional computing devices for administration of content and resources and the like. Additionally, although the origin server component 114 and associated storage component 116 are logically associated with the content provider 104, the origin server component 114 and associated storage component 116 may be geographically distributed throughout the communication network 108 in a manner to best serve various demographics of client computing devices 102. Still further, although illustrative components have been described with regard to the content provider 104, a content provider may have any configuration of components associated with a domain addressable on the communication network 108.
As further illustrated in FIG. 1, the content provider 104 can be associated with one or more DNS name server components 118 that are operative to receive DNS queries related to registered domain names associated with the content provider. The one or more DNS name servers can be authoritative to resolve client computing device DNS queries corresponding to the registered domain names of the content provider 104. A DNS name server component is considered to be authoritative to a DNS query if the DNS name server can resolve the query by providing a responsive IP address. As will be explained in greater detail below, in accordance with illustrative embodiments, at least a portion of the request routing functionality provided by the DNS name server components 118 will be provided by a service provider on behalf of the content provider 104.
With continued reference to FIG. 1, the content delivery environment 100 can further include a service provider 106 in communication with the one or more client computing devices 102, the content provider 104, and the network storage provider 110 via the communication network 108. The service provider 106 illustrated in FIG. 1 corresponds to a logical association of one or more computing devices associated with a service provider. Specifically, the service provider 106 can include a number of Point of Presence (“POP”) locations 120, 126, 132 that correspond to nodes on the communication network 108. Each POP 120, 126, 132 includes a DNS component 122, 128, 134 made up of a number of DNS server computing devices for resolving DNS queries from the client computers 102. Each POP 120, 126, 132 also optionally includes a resource cache component 124, 130, 136 made up of a number of cache server computing devices for storing resources from content providers or network storage providers and transmitting various requested resources to various client computers. The DNS components 122, 128, 134 and the resource cache components 124, 130, 136 may further include additional software and/or hardware components that facilitate communications including, but not limited to, load balancing or load sharing software/hardware components.
In an illustrative embodiment, the DNS component 122, 128, 134 and resource cache component 124, 130, 136 are considered to be logically grouped, regardless of whether the components, or portions of the components, are physically separate. Additionally, although the POPs 120, 126, 132 are illustrated in FIG. 1 as logically associated with the CDN service provider 106, the POPs will be geographically distributed throughout the communication network 108 in a manner to best serve various demographics of client computing devices 102. Additionally, one skilled in the relevant art will appreciate that the service provider 106 can be associated with various additional computing resources, such additional computing devices for administration of content and resources, and the like.
With further continued reference to FIG. 1, the content delivery environment 100 can also include a network storage provider 110 in communication with the one or more client computing devices 102, the service provider 106, and the content provider 104 via the communication network 108. The network storage provider 110 illustrated in FIG. 1 also corresponds to a logical association of one or more computing devices associated with a network storage provider. Specifically, the network storage provider 110 can include a number of network storage provider Point of Presence (“NSP POP”) locations 138, 142 that correspond to nodes on the communication network 108. Each NSP POP 138, 142 includes a storage component 140, 144 made up of a number of storage devices for storing resources from content providers which will be processed by the network storage provider 110 and transmitted to various client computers. The storage components 140, 144 may further include additional software and/or hardware components that facilitate communications including, but not limited to, load balancing or load sharing software/hardware components.
In an illustrative embodiment, the storage components 140, 144 are considered to be logically grouped, regardless of whether the components, or portions of the components, are physically separate. Additionally, although the NSP POPs 138, 142 are illustrated in FIG. 1 as logically associated with the network storage provider 110, the NSP POPs will be geographically distributed throughout the communication network 108 in a manner to best serve various demographics of client computing devices 102. Additionally, one skilled in the relevant art will appreciate that the network storage provider 110 can be associated with various additional computing resources, such additional computing devices for administration of content and resources, DNS name servers, and the like.
Even further, one skilled in the relevant art will appreciate that the components of the network storage provider 110 and components of the service provider 106 can be managed by the same or different entities. One skilled in the relevant art will also appreciate that the components and configurations provided in FIG. 1 are illustrative in nature. Accordingly, additional or alternative components and/or configurations, especially regarding the additional components, systems and subsystems for facilitating communications may be utilized. Specifically, one skilled in the relevant art will appreciate the network storage provider 110 may be omitted from the content delivery environment 100.
With reference now to FIGS. 2-5B, the interaction between various components of the content delivery environment 100 of FIG. 1 will be illustrated. For purposes of the example, however, the illustration has been simplified such that many of the components utilized to facilitate communications are not shown. One skilled in the relevant art will appreciate that such components can be utilized and that additional interactions would accordingly occur without departing from the spirit and scope of the present disclosure.
With reference to FIG. 2, an illustrative interaction for the optional registration of a content provider 104 with the network storage provider 110 for hosting content on behalf of the content provider 104 will be described. As illustrated in FIG. 2, the storage provider content registration process begins with registration of the content provider 104 with the network storage provider 110. In an illustrative embodiment, the content provider 104 utilizes a registration application program interface (“API”) to register with the network storage provider 110 such that the network storage provider 110 can provide content on behalf of the content provider 104. The registration API can include the identification of the origin server 114 of the content provider 104 that may provide requested resources to the network storage provider 110. In addition or alternatively, the registration API can include the content to be stored by the network storage provider 110 on behalf of the content provider 104. In one embodiment, the network storage provider 110 may act as an origin server for the content provider 104.
With continued reference to FIG. 2, upon receiving the registration API, the network storage provider 110 obtains and processes the content provider registration information. In an illustrative embodiment, the network storage provider 110 can then generate additional information that will be used by the client computing devices 102 as part of the content requests. The additional information can include, without limitation, content provider identifiers, such as content provider identification codes, storage provider identifiers, such as storage provider identification codes, executable code for processing resource identifiers, such as script-based instructions, and the like. One skilled in the relevant art will appreciate that various types of additional information may be generated by the network storage provider 110 and that the additional information may be embodied in any one of a variety of formats.
In one embodiment, the network storage provider 110 returns an identification of applicable domains for the network storage provider (unless it has been previously provided) and any additional information to the content provider 104. In turn, the content provider 104 can then process the stored content with content provider specific information. In one example, as illustrated in FIG. 2, the content provider 104 translates resource identifiers originally directed toward a domain of the origin server 114 to a domain corresponding to the network storage provider 110. The translated URLs are embedded into requested content in a manner such that DNS queries for the translated URLs will resolve to a DNS server corresponding to the network storage provider 110 and not a DNS server corresponding to the content provider 104.
With reference now to FIG. 3A, an illustrative interaction for registration, by the content provider 104, to utilize the request routing services provided by the service provider 106 will be described. As illustrated in FIG. 3, the request routing service registration process provided by the service provider 106 begins with registration of the content provider 104 with the service provider 106. In an illustrative embodiment, the content provider 104 utilizes a registration API to register with the service provider 106 such that the service provider 106 can provide request routing services on behalf of the content provider 104. The registration API includes the identification of the domains for which the service provider 106 will be authoritative (e.g., “contentprovider.com”), the identification of the storage component 140, 144 of the network storage provider 110 or origin servers 114 that will provide requested resources to the client computing devices 102. The registration API can also include additional information including request routing information, identification information, or other information that will be used to resolve client computing device DNS requests on behalf of the content provider 104, as will be explained below.
The service provider 106 obtains the registration API and processes the information. In one aspect, the service provider 106 can generate the necessary request processing rules or alternative identifiers that may be utilized in the resolution of client computing device DNS queries. In another aspect, the service provider 106 can cause the registration of its DNS nameserver components for the relevant domains specified by the content provider 104. The service provider 106 can then send a response to the content provider 104, such as a confirmation. Responsive to the processing of the registration API, the service provider 106 can identify the network addresses of the service provider DNS servers, such as an Internet Protocol address, that will process DNS queries on behalf of the content provider 104. The content provider 104 can then delegate the identified network addresses of the DNS servers that will be responsible for the identified content provider domain (e.g., “contentprovider.com”).
As will be explained in greater detail below, in one embodiment, the service provider 106 can distribute, or otherwise assign, network addresses associated with the DNS server components that will be authoritative to DNS requests to the content provider domain. Specifically, in embodiments in which the service provider 106 will assign a number of DNS server components that will be authoritative for a content provider domain, the service provider can first create a number of subdivisions, or zones, of network addresses available to the service provider. The number of subdivisions or zones corresponds to a distribution of the network addresses such that a selection of a network address from each of the subdivisions or zones ensures that a particular domain's DNS server components have distributed network addresses and avoids situations in which any two assigned DNS server components would have completely overlapping, or exactly matching, network addresses (unless the number of subdivisions or zones is less than the number of DNS server components being assigned as authoritative for a domain). The distribution from different subdivisions can be generally referred to as a “non-overlapping distribution.”
For purposes of an illustrative example, assume that the service provider 106 has a pool of available network addresses. The service provider 106 can organize the pool into two or more ranges of network addresses. For example, the ranges can be defined in a manner such that each network address having a common highest ordered octet could be considered to be in the same range. In another example, the ranges can be defined in a manner such that two or mote ranges may share a common highest ordered octet, but are distinguished by different second octets. Further, in another embodiment, the ranges of network addresses can correspond to a number of network addresses available for assignment. In alternative embodiments, at least one range of network address can correspond to a single network address for assignment.
As discussed above, each range of network addresses can be considered to a subdivision or zone of the available network addresses. In one aspect, if the number of subdivisions is equal or greater than the number of network addresses that need to be assigned, the service provider 106 ensures a distribution of network addresses for the DNS server components such that no two network addresses will be matching by selecting a network address from different subdivisions. With reference to the previous example in which ranges are determined according to the highest ordered octet of the network address, each selected network address would correspond to a different value of the highest order octet, which ensures that at least that portion of the network addresses do not overlap (e.g., the second, third, fourth octets) and that no two network addresses for the particular domain will be matching. With reference to another example in which two ranges share common first and second octets, each selected network address would correspond to a different value of the third order octet, which still ensures that at least that portion of the network addresses do not overlap and that no two network addresses for the particular domain will be matching. Depending on the pool of network addresses available to the service provider 106, the ranges of network addresses associated with each subdivision or zone can be configured in various manners depending on the desired distribution of network addresses, the total number of available network addresses and the differences in values among the available network addresses.
In some embodiments, in addition to ensuring a “non-overlapping” distribution of assigned network addresses for a specific domain, if the service provider 106 processes multiple requests for different domains, there is the possibility that such a non-overlapping distribution could result in two or more different domains having at least one assigned DNS network address that matches. In some embodiments, the service provider 106 may wish to establish a threshold number of network addresses that can be matched across unrelated domains (e.g., one, two, three, etc.) or, conversely, a minimum number of network addresses that are not exactly matching between any two non-conflicting domains. Accordingly, the service provider 106 can include different levels of processing regarding any potentially matching assigned network address in accordance with the established threshold of number of acceptable matching network addresses.
Illustratively, the service provider 106 can set the threshold number of acceptable matching network addresses to zero in specific scenarios such that there can be no matching network addresses between a subset of domains. By setting such a threshold to zero, the service provider 106 can ensure that the assigned network addresses of DNS servers do not overlap by removing a DNS server's network address from the pool of available network addresses that have been assigned. One example of such a scenario is if there are two or more hosted domains that would be considered for purposes of network routing to be conflicting by having the same textual name (e.g., a content provider maintaining two or more versions of the same domain). Another example scenario relates to conflicts related to subdomains associated with a content provider (e.g., http://domain.content_provider.com and http://subdomain.domain.content_provider.com). In these scenarios, the service provider 106 may adjust the threshold to zero to ensure that two domains do not have any matching DNS server component network addresses.
In another embodiment, it may be possible for two or more non-conflicting domains to share one or more assigned network addresses of a DNS server component. However, it may be desirable for the service provider 106 to ensure that no two specific non-conflicting domains are assigned the exact same network addresses from each of the subdivisions or that, for any two non-conflicting domains, no more than half of the assigned DNS server component network addresses are matching. In such embodiments, the service provider 106 can conduct additional processing to ensure and correct for matching network addresses, such as by reducing the number of matching network addresses below the threshold. One skilled in the relevant art will appreciate that a service provider 106 may implement varied thresholds such that there will be a first threshold for matching network addresses between a first subset of domains and a second threshold for matching network addresses between a second subset of domains.
In addition to ensuring that assigned network addresses for a specific domain are distributed in a non-overlapping manner and further ensuring that the number of matching network addresses with regard to another domain are not above a threshold, in another embodiment, the service provider 106 can select portions of the selected network addresses from each subdivision such that there is further no overlap in the portions of the selected network addresses that are not typically considered significant for purposes of routing. Specifically, in one embodiment, the network addresses can each correspond to a number of bits that are divided into octets having unique values. For example, a 16-bit network address can be represented in the form of xx.xx.xx.xx in which each xx pair is an octet. Likewise, a 24-bit network address can be represented in the form of yy.yy.yy.yy.yy.yy in which each yy pair represented by four bits. In accordance with network routing principles, a portion of the network address is utilized for network routing (e.g., the first 2 or 3 octets) and is generally referred to as the “most significant portion of the network address” or the “network portion of the network address.” The remaining portion of the network address (e.g., the last octet) is not considered to be significant for purposes of network routing and is generally referred to as the “non-significant portion of the network address” or the “host portion of the network address.” One skilled in the relevant art will appreciate that the number of octets in a network address that are considered “significant” or “non-significant” may vary according to the specific network protocol being utilized, the configuration of network routing equipment, and other criteria. Accordingly, the example number of octets utilized to illustrate the difference between the significant and non-significant portions of a network address are illustrative in nature and should not be construed as limiting.
For purposes of network routing, network addresses are considered to be non-overlapping or non-matching so long as the significant portions of the network addresses do not exactly match, regardless of whether there are one or more matching octets. The non-significant portions of the network address are effectively ignored for purposes of network routing. Accordingly, in this embodiment, the service provider 106 can select different values for the non-significant portions of the selected network addresses for a specific domain such that the non-significant portions of the selected network address for a specific domain do not exactly match, even if there is some partial matching.
With reference to the previous example, if we assume that four network addresses are selected and the non-significant portion of the network addresses corresponds to the last octet in the network address, the non-significant portion of the network addresses can be subdivided into four ranges of values such there is no overlap in the assigned values for the least most significant bits. Continuing with this example, the last octet has a range of 256 total potential values. Since each domain is illustratively associated with four network addresses, the potential values of the last octet can be divided into ranges of values of 1-63, 64-127, 128-191 and 192-255. Accordingly, the value of the last octet for the first assigned network address would be picked from the range of 1-63; the value of the last octet for the second assigned network address would be picked from the range of 64-127; the value of the last octet for the third assigned network address would be picked from the range of 128-191; and the value of the last octet for the fourth assigned network address would be picked from the range of 192-255. Thus, in this embodiment, the resulting assigned network addresses would be completely non-overlapping with regard to not only the significant portions of the network addresses but also with regard to the non-overlapping portions of the network addresses. Illustratively, the processes and interactions illustrated in FIG. 3A may be repeated a number of times by the content provider 104 to register request routing services from the service provider 106.
With reference now to FIG. 3B, in an illustrative embodiment, assume that the content provider 104 has repeated the registration process illustrated in FIG. 3A at least two times for conflicting domains. In this embodiment, the content provider 104, or service provider 106, has configured one or more DNS resolver components 103 with different sets of network addresses corresponding to DNS server components that will process DNS queries for conflicting domains. In one example, a content provider 104 may wish to maintain two different versions of a domain (e.g., http://sample.contentprovider.com). With reference to the above description of embodiments in which the service provider 106 establishes a threshold that results in no matching network addresses between a subset of domains, such a threshold can be established to set up two or more sets of DNS server component network addresses for a common domain (e.g., http://www.contentproviderdomain.com). For example, a content provider 104 may wish to configure a first set of DNS server components to process DNS queries for a testing version of a domain while providing a second set of DNS server components to process DNS queries for a production version of the same domain. From the perspective of the client computing devices 102, however, the DNS queries would still correspond to the same domain (e.g., www.contentproviderdomain.com). In another example, a content provider 104 may wish to have a private version of a domain (e.g., an inter-company domain) that is associated with a first set of DNS server components and a public version of the same domain that is associated with the second set of DNS server components.
As illustrated in FIG. 3B, once the two or more sets of DNS server components have been configured, the content provider 104 (or other entity) can implement targeted DNS server configurations to various DNS resolver components 103 in the content delivery environment 100. Illustratively, the targeted DNS server configurations will include the network addresses of the DNS server components that will be authoritative for one or more domains. In one embodiment, the content provider 104 can only specify the network addresses of the DNS server components that will be applicable to each DNS resolver component 103 as well as additional information, such as timing information (e.g., expiration times, “time to live”, etc.) and the like. In other embodiments, the content provider can specify multiple sets of DNS server addresses and provide additional logic that allows the DNS resolver components 103 to determine which of the sets of the DNS server addresses should be utilized. The logic can include various selection criteria, such as timing criteria, event criteria, client identifier criteria, network criteria, and the like.
Illustratively, upon the optional identification of appropriate storage component 140, 144 of the network storage provider 110 (FIG. 2) and the registration for request routing services and configuration of DNS resolver components (FIGS. 3A and 3B), the content provider 104 can begin to process DNS requests for content generated on behalf of the client computing devices 102. Specifically, in accordance with DNS routing principles, a client computing device DNS query corresponding to a resource identifier would eventually be resolved by identifying a network address corresponding to either the origin server component 114 and associated storage component 116 or storage—components 140, 144 of the network storage provider 110 by a DNS nameserver associated with the service provider 106.
For purposes of an illustrative example and with reference to FIGS. 4A and 4B, assume that the DNS resolver 103A has been configured with a first set of DNS server addresses for a domain while DNS resolver 103B has been configured with a second set of DNS server addresses for a conflicting domain. Additionally, assume for illustrative embodiments, that during the registration process for the conflicting domains, the service providers 106 set the threshold for matching network addresses between the first and second set of network addresses to zero such that there are no matching or overlapping network addresses between the first set of network addresses configured on DNS resolver 103A and the second set of network address configured on DNS resolver 103B.
Turning now to FIG. 4A, in accordance with one embodiment, once the service provider 106 has begun processing request routing functionality on behalf of the content provider, a first client computing device 102A issues a DNS query for the content provider domain (e.g., “contentprovider.com”). Illustratively, the first client computing device 102, such as through a browser software application, issues a DNS query to an associated DNS resolver component 103A. On behalf of the client computing device 102A, the associated DNS resolver component 103A issues a DNS query for the content provider domain that first results in the identification of a DNS server authoritative to the “.” and the “corn” portions of the domain. After partially resolving the domain according to the “.” and “com” portions of the domain, the DNS resolver component 103A then issues another DNS query for the URL that results in “.contentprovider” portion of the domain. In certain embodiments, the DNS resolver components 103A may have already been configured with the network addresses of the DNS server components and would utilize the configured network address information so long as the configured network address information would be considered valid and applicable.
In an illustrative embodiment, the identification of a DNS server authoritative to the “.content provider” corresponds to one of the first set of assigned IP addresses of a DNS server associated with the service provider 106. In one embodiment, the IP address is a specific network address unique to DNS server component(s) of a specific POP associated with the service provider 106. In another embodiment, the IP address can be shared by one or more POPs associated with the service provider 106, which may be geographically or logically distributed. In this embodiment, a DNS query to the shared IP address utilizes a one-to-many network routing schema, such as anycast, such a specific POP will receive the request as a function of network topology. For example, in an anycast implementation, a DNS query issued by the DNS resolver component 103A to a shared IP address will arrive at a DNS server component of the service provider 106 logically having the shortest network topology distance, often referred to as network hops, from the client computing device. The network topology distance does not necessarily correspond to geographic distance. However, in some embodiments, the network topology distance can be inferred to be the shortest network distance between a client computing device 102 and a service provider POP.
As illustrated in FIG. 4A, a DNS server component of the service provider 106 obtains the DNS query and can resolve the DNS query by providing a network address, such as an IP address, of a component for providing the requested content. For example, the receiving DNS server component may provide an IP address of a Web server that can provide a requested Web page. In another example, the DNS server may provide an IP address of a cache component that may provide a requested resource or file. In an alternative embodiment, the DNS server component may also provide alternative identifiers, such as canonical names (“CNAMEs”) that can be used to refine request routing processing. In the example illustrated in FIG. 4A, it is assumed that the DNS query transmitted by the client computing device 102A can be processed.
Illustratively, the DNS server receiving the DNS query has been previously configured with information for resolving DNS queries for the conflicting domains. In such embodiments, the one or more DNS server components may be authoritative for processing DNS queries addressed to the first set of network addresses while one or more different DNS server components may be authoritative for processing DNS queries addressed to the second set of network addresses. Alternatively, one or more DNS servers may be configured to receive and be authoritative to DNS queries addressed to the first or second set of network addresses. In such alternative embodiments, such configured DNS server would utilize the destination address of the DNS query to determine whether the DNS query was directed toward the first or second set of network addresses. Based on the destination network address, the receiving DNS server can determine which information to provide to resolve the DNS query. Illustratively, the returned information can include IP address information corresponding to a component of the service provider 106 or storage service provider 110. Additionally, the returned information can include meta-data, such as information identifying authoritative nameservers or used to identify authoritative nameservers.
Turning now to FIG. 4B, in accordance with the illustrative example, a second client computing device 102B, such as through a browser software application, issues a DNS query to an associated DNS resolver component 103B. On behalf of the client computing device 102B, the associated DNS resolver components 103B issues a DNS query for the content provider domain that first results in the identification of a DNS server authoritative to the “.” and the “corn” portions of the domain. After partially resolving the domain according to the “.” and “corn” portions of the domain, the DNS resolver components 103B then issues another DNS query for the URL that results in “.contentprovider” portion of the domain. In certain embodiments, the DNS resolver components 103B may already been configured with the network addresses of the DNS server components and would utilize the configured network address information so long as the configured network address information would be considered valid and applicable.
In an illustrative embodiment, the identification of a DNS server authoritative to the “contentprovider” corresponds to one of the second set of assigned IP addresses of a DNS server associated with the service provider 106. In one embodiment, the IP address is a specific network address unique to DNS server component(s) of a specific POP associated with the service provider 106. In another embodiment, the IP address can be shared by one or more POPs associated with the service provider 106, which may be geographically or logically distributed. In this embodiment, a DNS query to the shared IP address utilizes a one-to-many network routing schema, such as anycast, such a specific POP will receive the request as a function of network topology. For example, in an anycast implementation, a DNS query issued by the DNS resolver components 103B to a shared IP address will arrive at a DNS server component of the service provider 106 logically having the shortest network topology distance, often referred to as network hops, from the client computing device. The network topology distance does not necessarily correspond to geographic distance. However, in some embodiments, the network topology distance can be inferred to be the shortest network distance between a client computing device 102 and a service provider POP.
As illustrated in FIG. 4B, a DNS server component of the service provider 106 obtains the DNS query and can resolve the DNS query by providing a network address, such as an IP address, of a component for providing the request content. For example, the receiving DNS server component may provide an IP address of a Web server that can provide a requested Web page. In another example, the DNS server may provide an IP address of a cache component that may provide a requested resource or file. In an alternative embodiment, the DNS server component may also provide alternative identifiers, such as CNAMEs at can be used to refine request routing processing.
In the example illustrated in FIG. 4B, it is also assumed that the DNS query transmitted by the client computing device 102 can be processed. As previously described with regard to FIG. 4A, in one embodiment, the DNS queries are serviced by different sets of DNS server components that have been configured to process DNS queries associated with either the first or second set of network addresses. Accordingly, the resolution of the DNS queries between client computing device 102A and client computing device 102B is separately controlled by the respectively configured DNS servers. For example, client computing device 102A may be provided access to a restricted set of cache server components while client computing device 102E may be provided access to a non-restricted set of cache server components. Alternatively, one or more DNS servers associated with the service provider 106 have been configured to receive and be authoritative to DNS queries addressed to the first or second set of network addresses (e.g., DNS queries from DNS resolvers 103A and 103B). In such alternative embodiments, such configured DNS servers would utilize the destination address of the DNS query to determine whether the DNS query was directed toward the first or second set of network addresses. Based on the destination network address, the receiving DNS server can determine which information to provide to resolve the DNS query. As previously described, the returned information can include IP address information corresponding to a component of the service provider 106 or storage service provider 110. Additionally, the returned information meta-data, such as information identifying authoritative nameservers or used to identify authoritative nameservers.
With reference now to FIG. 5, one embodiment of a routine 500 implemented by a service provider 106 for managing registration of content provider 104 will be described. One skilled in the relevant art will appreciate that actions/steps outlined for routine 500 may be implemented by one or many computing devices/components that are associated with the service provider 106, such as a DNS query processing component or a point of presence associated with the service provider. Accordingly, routine 500 has been logically associated as being generally performed by the service provider 106, and thus the following illustrative embodiments should not be construed as limiting.
At block 502, the service provider 106 obtains a request for providing DNS request routing services on behalf of a content provider 104. Illustratively, the request for providing DNS request routing services may be facilitated through a registration API in which the content provider specifies information necessary for the service provider 106 to begin hosting DNS nameserver functionality on behalf of the content provider. The transmission of the registration API (and associated information) may be an automatic process corresponding to an exchange of information between computing devices without need for administrator, or other human interaction. Alternatively, the transmission of the registration API (and associated information) may be an automatic process may be a manual, or semi-manual, process in which an administrator specifies at least a portion of the information necessary for the service provider 106 to begin hosting DNS nameserver functionality on behalf of the content provider.
At block 504, the service provider 106 determines a number of assignable network address subdivisions or zones. As previously described, in one embodiment, the service provider 106 may maintain two or more ranges of DNS server network addresses that can be assigned to content providers. Illustratively, the service provider can maintain a pool of available network addresses that correspond to the DNS server components that can be assigned to a content provider. Accordingly, the service provider 106 can organize the pool into two or more ranges of network addresses in which each range of network addresses corresponds to a subdivision or zone. As explained above, the service provider 106 can further select network addresses from the subdivisions to ensure that, for a specific domain, at least the significant portions of the set of assigned network addresses will not have any exactly matching values, regardless of whether there are at least some common values.
At block 506, the first network address subdivision is selected as a current network address subdivision and at block 508, the service provider 106 assigns a network address from the current network address subdivision. In an illustrative embodiment, in addition to the selection of a unique network address from the range of network addresses associated with the current network address subdivision, block 508 can also correspond to the service provider 106 selecting a value for the non-significant portion of the selected network addresses such that for a specific domain, at least the non-significant portions of the set of assigned network addresses also will not have any exactly matching values. One skilled in the relevant art will appreciate that the non-significant portions of the set of assigned network addresses will not be considered matching solely because some portion of the network addresses have common values.
Still further, block 508 can also correspond to the service provider 106 conducting additional processing such that for two domains or the same domain, regardless of ownership, the set of assigned network addresses (either significant portions or a combination of significant and non-significant portions) will have no more than a threshold number of exactly matching network addresses. In one embodiment, the service provider 106 can establish multiple thresholds such that between different domains, there is a first threshold of matching network addresses (e.g., no more than two matching network addresses between any two different domains) and that for a same domain, there is a second threshold of matching network addresses (e.g., no matching network addresses for the same domain). Additionally, the service provider 106 can also conduct some type of conflict resolution such that the assigned network address would not conflict with a previously assigned network address for any domain that would be considered a parent domain, a child domain, a sibling domain, etc. In such embodiment, the pool of available network addresses may be filtered to remove any potentially conflicting network addresses.
At decision block 510, a test is conducted to determine whether additional network subdivisions exist. If so, at block 512, the service provider 106 selects a next network address subdivision as the current network address subdivision and the routine 500 proceeds to block 508 to select another network address for the current subdivision. With reference to the previous example, the routine 500 can repeat to assign a network address for each of the remaining three network address subdivision ranges and values for the non-significant portions of the network address (e.g., ranges of 64-127, 128-191 and 192-254 for the last octet of the assigned network addresses). Additionally, the routine 500 can provide the additional conflict resolution or other limitation techniques, described above, to filter out network addresses that should not be assigned to the content provider. However, in an alternative embodiment, the service provider 106 may not necessarily assign network addresses from all the available network address subdivisions or zones.
Once all the network addresses have been assigned, at block 514, the service provider 106 transmits assigned network addresses in response to the request for DNS service hosting. Based on the identified network addresses, the content provider can delegate the identified domain to the assigned network addresses. One skilled in the relevant art will appreciate that upon delegation of the assigned network addresses (or DNS nameserver names), the service provider 106 can host the DNS nameserver components on different computing devices in a manner that each physical computing device can correspond to one subdivision or zone or less than all the subdivisions or zones. At block 516, the routine 500 ends.
With reference now to FIG. 6, one embodiment of a routine 600 implemented by a service provider 106 for processing DNS queries will be described. Illustratively, the DNS queries are initiated by client computing devices 102 and facilitated through configured DNS resolver components 103 as discussed above. One skilled in the relevant art will appreciate that actions/steps outlined for routine 600 may be implemented by one or many computing devices/components that are associated with the service provider 106, such as a DNS query processing component or a point of presence associated with the service provider. Accordingly, routine 600 has been logically associated as being generally performed by the service provider 106, and thus the following illustrative embodiments should not be construed as limiting.
At block 602, the service provider 106 distributes DNS information to the various POPs, such as POPS 120, 126 and 132. Illustratively, the DNS information includes information identifying the sets of network addresses configured for various registered domains. Additionally, in embodiments, in which conflicting domains have been registered with the service provider 106, the distribution of DNS information includes criteria for determining information in response to DNS queries for conflicting domains, including IP address information, meta-data, and the like.
At block 604, the service provider 106 receives a DNS query. Illustratively, if the DNS query corresponds to a non-conflicting domain, the receiving DNS server can process the DNS query with the previously distributed DNS information. Alternatively, if the DNS query corresponds to a conflicting domain, at block 606, the service provider determines the destination address associated with the DNS query. One skilled in the relevant art will appreciate that a destination address is typically included in a DNS query. Alternatively, the DNS query can include additional identification information, such as in the URL, that identifies the destination address. For example, a URL can be modified to include a destination identifier as a label to a URL.
At block 608, the service provider 108 utilizes the identified destination address to identify which network address from one or more sets of network address is authoritative to resolve the DNS query. Illustratively, for conflicting domains, the information provided by the DNS servers in resolving the DNS queries for the conflicting domains will be different. As described above with regard to block 602, illustratively, the DNS servers have been provided with different information that can be selected by the DNS servers based on a determination of which set of network addresses will be authoritative for the received DNS query corresponding to a conflicting domain. At block 610, the service provider 106 resolves the DNS query based on the selected information and transmits the resolved DNS query at block 612. Illustratively, the resolution of the DNS query can include the identification of an IP address of a component of the service provider 106 or storage service provider 110. Additionally, the resolution of the DNS query can include additional meta-data that facilitates additional interaction with the service provider 106 or storage service provider 110. Specifically, the meta-data can illustratively include information identifying authoritative nameservers or used to identify authoritative nameservers. At block 614, the routine 600 terminates.
It will be appreciated by those skilled in the art and others that all of the functions described in this disclosure may be embodied in software executed by one or more processors of the disclosed components and mobile communication devices. The software may be persistently stored in any type of non-volatile storage.
Conditional language, such as, among others, “can,” “could,” “might,” or “may,” unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and/or steps. Thus, such conditional language is not generally intended to imply that features, elements and/or steps are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without user input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular embodiment.
Any process descriptions, elements, or blocks in the flow diagrams described herein and/or depicted in the attached figures should be understood as potentially representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process. Alternate implementations are included within the scope of the embodiments described herein in which elements or functions may be deleted, executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those skilled in the art. It will further be appreciated that the data and/or components described above may be stored on a computer-readable medium and loaded into memory of the computing device using a drive mechanism associated with a computer-readable medium storing the computer executable components such as a CD-ROM, DVD-ROM, or network interface further, the component and/or data can be included in a single device or distributed in any manner. Accordingly, general purpose computing devices may be configured to implement the processes, algorithms and methodology of the present disclosure with the processing and/or execution of the various data and/or components described above.
It should be emphasized that many variations and modifications may be made to the above-described embodiments, the elements of which are to be understood as being among other acceptable examples. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.

## Claims

1. A method for managing domain name service (DNS) queries comprising:
obtaining, by a service provider, a DNS query corresponding to an identifiable domain, the DNS query including a destination network address of a DNS server of the service provider obtaining the DNS query;
responsive to the DNS query, determining, by the service provider, that the identifiable domain corresponds to first and second conflicting domains, wherein the first conflicting domain is associated with a first set of network addresses, wherein the second conflicting domain is associated with a second set of network addresses, and wherein there are no matching network addresses between the first and second sets of network addresses;
determining, by the service provider, whether the identifiable domain corresponds to the first or second conflicting domain based on a comparison of the identified destination network address included in the DNS query with the first and second set of network addresses; and
resolving the DNS query and transmitting, by the service provider, information associated with the determined either first or second conflicting domain responsive to the DNS query, wherein the information includes an identification of a network address corresponding to the resolved DNS query and metadata associated with the identified network address.

2. The method as recited in claim 1, wherein the first and second sets of network addresses are selected from network address subdivisions corresponding to nonoverlapping ranges of available network addresses for service provider DNS server components.

3. The method as recited in claim 1, wherein the network addresses correspond to Internet protocol network addresses.

4. The method as recited in claim 1, wherein the first and second conflicting domains are based on a first identifiable domain and a second identifiable domain associated with a same textual domain name.

5. The method as recited in claim 1, wherein the conflicting domains are based on a first identifiable domain and a second identifiable domain and wherein the second identifiable domain is a subdomain of the first identifiable domain.

6. A method for managing DNS queries comprising:
obtaining, by a service provider, a DNS query corresponding to an identifiable domain, the DNS query including a destination network address of a DNS server of the service provider obtaining the DNS query;
responsive to the DNS query, determining, by the service provider, whether the identifiable domain corresponds to a first conflicting domain associated with a first set of network addresses or a second conflicting domain associated with a second set of network addresses based on a comparison of the identified destination network address included in the DNS query with the first and second set of network addresses; and
resolving the DNS query, by the service provider, by providing information associated with the determined either first or second conflicting domain responsive to the DNS query.

7. The method as recited in claim 6, wherein the first and second sets of network addresses are selected from network address subdivisions corresponding to nonoverlapping ranges of available network addresses for service provider DNS server components.

8. The method as recited in claim 6, wherein the network addresses correspond to Internet protocol network addresses.

9. The method as recited in claim 6, wherein the conflicting domains are based on a first identifiable domain and a second identifiable domain associated with a same textual domain name.

10. The method as recited in claim 6, wherein the conflicting domains are based on a first identifiable domain and a second identifiable domain and wherein the second identifiable domain is a subdomain of the first identifiable domain.

11. The method as recited in claim 6, wherein there are no matching network addresses between the first and second sets of assigned network addresses.

12. The method as recited in claim 6, wherein resolving the DNS query includes providing a network address of a component associated with at least one of a service provider and a storage service provider.

13. The method as recited in claim 6, wherein resolving the DNS query includes providing metadata associated with the destination network address.

14. A system for managing DNS queries comprising:
a memory for maintaining information for resolving DNS queries, the memory including a first set of information for resolving DNS queries directed to a first conflicting domain and a second set of information for resolving DNS queries directed toward a second conflicting domain; and
a DNS query processing component of a service provider operative to:
obtain a DNS query corresponding to an identifiable domain, the DNS query including a destination network address of a DNS server of the service provider obtaining the DNS query;
responsive to the DNS query, determine whether the identifiable domain corresponds to the first conflicting domain or second conflicting domain based on of the identified destination network address included in the DNS query with a first set of network addresses associated with the first conflicting domain and second set of network addresses associated with the second conflicting domain;
select from the first or second set of network addresses in the memory based on the associated first or second conflicting domain; and
resolve the DNS query by providing information associated with the first or second set of network addresses responsive to the DNS query.

15. The system as recited in claim 14, wherein the first and second of network addresses are selected from network address subdivisions corresponding to nonoverlapping ranges of available network addresses for service provider DNS server components.

16. The system as recited in claim 14, wherein the network addresses correspond to Internet protocol network addresses.

17. The system as recited in claim 14, wherein first conflicting domain and the second conflicting domain are associated with a same textual domain name.

18. The system as recited in claim 14, wherein the second conflicting domain is a subdomain of the first conflicting domain.

19. The system as recited in claim 14, wherein there are no matching network addresses between the first and second sets of network addresses.

20. The system as recited in claim 14, wherein resolving the DNS query includes providing a network address of a component associated with at least one of a service provider and a storage service provider.

21. The system as recited in claim 20, wherein the DNS query processing component further provides metadata associated with the destination network address, the metadata associated with the first or second set of information.