WO1998050863A1 - An improved method for providing an internet protocol address with a domain name server - Google Patents

An improved method for providing an internet protocol address with a domain name server Download PDF

Info

Publication number
WO1998050863A1
WO1998050863A1 PCT/US1998/008679 US9808679W WO9850863A1 WO 1998050863 A1 WO1998050863 A1 WO 1998050863A1 US 9808679 W US9808679 W US 9808679W WO 9850863 A1 WO9850863 A1 WO 9850863A1
Authority
WO
WIPO (PCT)
Prior art keywords
servers
address
client
method described
client domains
Prior art date
Application number
PCT/US1998/008679
Other languages
French (fr)
Inventor
Rupesh Kapoor
Original Assignee
Whowhere? Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Whowhere? Inc. filed Critical Whowhere? Inc.
Priority to AU71701/98A priority Critical patent/AU7170198A/en
Publication of WO1998050863A1 publication Critical patent/WO1998050863A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/35Network arrangements, protocols or services for addressing or naming involving non-standard use of addresses for implementing network functionalities, e.g. coding subscription information within the address or functional addressing, i.e. assigning an address to a function
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1006Server selection for load balancing with static server selection, e.g. the same server being selected for a specific client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1019Random or heuristic server selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1038Load balancing arrangements to avoid a single path through a load balancer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3433Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3442Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for planning or managing the needed capacity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/88Monitoring involving counting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1034Reaction to server failures by a load balancer

Definitions

  • the present invention relates generally to the Internet and, more specifically, the present invention relates to Internet addressing.
  • the Internet has brought about an information revolution through the development of computerized information resources, on-line services and the World Wide Web (WWW). With enormous amounts of data on almost any topic imaginable available on the Internet, an ever increasing number of computers and users have been connected to the Internet.
  • WWW World Wide Web
  • IP Internet protocol
  • DNS domain name servers
  • FIG 1 is a block diagram that illustrates a client 101 trying to connect to a web server 103 of an Internet Host ABC.
  • client 101 makes a DNS resolution request 107 to DNS server 105 to request the IP address of web server 103.
  • DNS server 105 returns the IP address response 109 in reply to the DNS resolution request 107.
  • client 101 sends the hypertext transfer protocol (HTTP) request 111 to web server 103, which is addressed by IP address included in IP address response 109, and web server 103 therefore responds with an HTTP response 113 as shown in Figure 1.
  • HTTP hypertext transfer protocol
  • Figure 2 is a block diagram illustrating a client 201 trying to connect to one of the web servers 203A-C of Internet Host ABC.
  • client 201 trying to connect to one of the individual web servers 203A-C would be for the user or client to remember multiple host names for each of the web servers 203A-C.
  • web server 203A could have a host name "www1.lnternet_Host_ABC.com”
  • web server 203B could have a host name "www2.lnternet_Host_ABC.com”
  • server 203C could have a host name "www3.lnternet_Host_ABC.com.”
  • DNS server 205 associates multiple servers, and therefore multiple IP addresses, with a single host name.
  • DNS server 205 returns all IP addresses in IP address response 209 for the host name in random order.
  • client 201 usually uses the first IP address.
  • DNS server 205 returns three IP addresses in IP address response 209 in random order. Each IP address corresponds to one of the web servers 203A-C. Client 201 uses the first IP address and sends and HTTP request 211 to the web server 203B identified by the first IP address returned by DNS server 205. In response, web server 203B returns an HTTP response 213 back to client 201.
  • DNS interactions such as DNS resolution requests 107 and 207 as well as IP address responses 109 and 209 of Figures 1 and 2 respectively constitute a significant portion of total Internet traffic.
  • some clients 101 or 201 generally cache the Internet host name to IP address translation for a period of time. This concept is sometimes referred to as DNS caching.
  • DNS caching Several issues are considered when determining the length of time a client should cache an Internet host name to IP address translation.
  • a shorter cache time sometimes referred to as time-to-live (TTL) leads to increased DNS traffic and slower response times since a client makes a greater number of DNS resolution requests 107 and 207 as shown in Figures 1 and 2 respectively. Longer TTL times may result in a "skewed locking" problem. Skewed locking is generally undesirable and occurs when a disproportionate amount of Internet clients address the same individual web server of an Internet site, even though the Internet site may employ multiple servers.
  • ISPs Internet service providers
  • these large client domains cache DNS translations for TTL amount of time.
  • existing DNS implementations return IP addresses in random order, as shown in Figure 2, it is possible that all of the major ISPs receive the same sequence of IP addresses for a particular host. Consequently, an undesirable load imbalance results between the multiple web servers of the Internet host.
  • one web server 203B may be heavily burdened with HTTP requests 211 while the other web servers 203A and 203C remain idle. Consequently, web servers 203A-C are not efficiently utilized and overall Internet traffic and response times are compromised as a result.
  • a DNS is configured to receive a DNS resolution request from a client domain and the DNS returns the IP address of one of the web servers of the Internet host such that the total number of times that the IP address of each particular web server is returned is proportional to the relative weight of each respective web server relative to the total weight of all the web servers of the Internet host.
  • the top client domains that have recently requested to be connected to the web servers are identified. The number of times each one of the top client domains have requested to be connected to the web servers is also determined. Each of the identified top client domains are then apportioned among the web servers of the
  • a DNS resolution request may then be received from one of the client domains and the DNS then returns the IP address of the web server to which that particular client domain was apportioned. Additional features and benefits of the present invention will become apparent from the detailed description, figures and claims set forth below.
  • Figure 1 is a block diagram of a DNS server providing an IP address to a client for an Internet host that includes one web server.
  • Figure 2 is an illustration of a DNS server providing a list IP addresses in random order to a client for an Internet host with multiple web servers.
  • FIG. 3 is a flow diagram illustrating the operation of a DNS server with skewed lock prevention off in accordance with the teachings of one embodiment of the present invention.
  • Figure 4 is a flow diagram illustrating the initialization of internal arrays or tables of another embodiment of a DNS server with skewed lock prevention off in accordance with the teachings of one embodiment of the present invention.
  • FIG 5 is a flow diagram illustrating the operation of a DNS server serving client queries using the internal arrays or tables as initialized in Figure 4 with skewed lock prevention off in accordance with the teachings of another embodiment of the present invention.
  • FIG. 6 is a flow diagram illustrating the operation of a DNS server with skewed lock prevention on in accordance with the teachings of one embodiment of the present invention.
  • Figure 7 is a flow diagram illustrating the initialization of internal arrays or tables of another embodiment of a DNS server with skewed lock prevention on in accordance with the teachings of the present invention.
  • Figure 8 is a flow diagram illustrating the operation of a DNS server serving client queries using the internal arrays or tables as initialized in Figure 7 with skewed lock prevention on in accordance with the teachings of another embodiment of the present invention.
  • Figure 9 is a flow diagram illustrating the operation of a DNS server verifying that the web servers are not down and are not generating time out errors in accordance with the teachings of another embodiment of the present invention.
  • steps of the present invention include various steps, which will be described below.
  • the steps may be embodied in machine-executable instructions, which may be used to cause a general- purpose or special-purpose processor programmed with the instructions to perform the steps.
  • the steps of the present invention may be performed by specific hardware components that contain hardwired logic for performing the steps, or by any combination of programmed computer components and custom hardware components.
  • One embodiment of the present invention provides an improved method for providing IP addresses by modifying existing DNS servers, and without any changes to clients, to solve the problems associated with present day DNS servers.
  • a DNS server capable of balancing the workload between multiple web servers in a fault tolerant and reliable way is described.
  • the DNS has the ability to adapt to varying loads between client domains and ISPs. Instead of returning the IP addresses in a random order in response to a DNS resolution request, a DNS in accordance with one embodiment of the present invention returns IP addresses in such a way that all web servers of an Internet host roughly get their "fair share," thereby reducing DNS traffic at the same time.
  • the system administrator of an Internet host specifies a list of IP addresses for the web servers of the Internet host and their relative strengths.
  • the DNS server monitors the access logs for the past several days to identify the client domains that most frequently access the Internet host and the percentage of accesses from each of the client domains.
  • Static arrays, lists or tables are constructed by one embodiment of the present invention to assign an IP address to the client domains that most frequently access the Internet host. As long as all the web servers are operational, the DNS sends back the assigned IP address to these client domains. A weighted random IP address is returned to other client domains that are not considered to have frequently accessed the Internet host recently. If one of the web server crashes or otherwise becomes unavailable, the static arrays are recomputed.
  • a system administrator initially specifies the relative processing power of the multiple servers of an Internet host that serve similar content.
  • Table 1 below show and example of an Internet host ABC with three web servers, each of which has a relative weight and a unique IP address.
  • the first web server has a relative weight of 6 and the second two web servers have a relative weight of 7. It is appreciated that the present invention is not limited to an Internet host having only three web servers or web servers having relative weights as shown. The example given above is for illustration purposes only and the present invention may also be applied to Internet hosts having greater or fewer web servers and different relative weights. It is noted that the system administrator may use discretion in assigning the relative weights based on any number of factors. In one embodiment, the relative weights are assigned according to the relative processing power of each particular web server.
  • the present invention provides IP addresses to client domains requesting an IP address based on the relative weights of each particular web server such that the workload is balanced between each of the web servers.
  • a DNS in accordance with the teachings of the present invention includes a skewed lock prevention setting that may be activated or deactivated.
  • FIG. 3 is a flow diagram that illustrates the processing steps of a DNS server returning IP addresses with skewed lock prevention deactivated.
  • the DNS receives a DNS resolution request.
  • the DNS returns the IP address of a web server such that the total number of times that the IP address of each one of the web servers is returned in proportional to the relative weight of each web server.
  • the DNS randomizes the list of web servers in a manner similar to existing DNS implementations, with the exception that the more powerful servers appear at the top of the list more often, proportional to their relative weights. To illustrate, if a first server is configured to be twice as powerful as a second server, the first server will appear at the top of the response list 67 percent of the time.
  • the DNS periodically determines whether each one of the web servers is not functioning properly or is generating time out errors. If a web server has crashed and is therefore unavailable to serve clients, the DNS discontinues providing the IP address of the down server to clients thereby providing improved service to the client with increased reliability. If the web server is generating time out errors, there is a possibility that the web server has become overburdened with serving client requests and the relative weight of that particular web server may thereby be reduced. In both instances, one embodiment of the present invention notifies the system administrators of the host so that the problems with the web servers may be corrected.
  • FIG. 4 is a flow diagram illustrating the processing steps of another embodiment of the present invention with the skewed lock prevention setting deactivated.
  • the DNS reads a list of IP addresses of web servers for given host name and their relative weights, similar to Table 1 above.
  • the DNS connects to each web server and removes the down web servers from the list as shown in steps 403 and 405.
  • the total weight W equals w 1 + w 2 + . . . + w n as shown in steps 405 and 407.
  • an array A of numbers with W elements is created.
  • the first w 1 elements of array A are assigned a number, such as for example 1 , which corresponds to the web server with weight w
  • the next w 2 elements of array A are set to a number, such as for example 2, which corresponds to the web server with weight w 2 .
  • array A would have twenty (6 + 7 + 7) elements, in which six of the elements are set to a number that corresponds to IP address 19.2.15.1 , seven of the elements set to a number that corresponds to IP address 205.230.1.5 and seven of the elements set to a number corresponding to IP address 206.21.7.25.
  • the order of all of the elements and array A are randomized as shown in step 413.
  • array A is periodically recomputed as desired such that the lists of IP addresses with their relative weights remain current.
  • FIG. 5 is a flow diagram illustrating the processing steps performed by the DNS while utilizing array A as generated according to Figure 4 and serving DNS resolution requests from the clients.
  • counter C is initially set to equal 1.
  • DNS resolution requests are received from the client as shown in step 503.
  • the DNS returns the IP address of the server that corresponds to the Cth entry of array A.
  • Counter C is incremented as shown in step 507. If counter has been incremented to a value greater than W, counter C is then reset to equal 1 as shown in step 509. Afterwards, processing loops back to step 503 and subsequent DNS resolution requests are serviced accordingly.
  • counter C is reinitialized to equal 1 according to step 501 and processing loops through steps 503-509 indefinitely.
  • the DNS performs additional steps to attempt to balance the workload across the multiple web servers of an Internet host.
  • the DNS periodically reads and processes the recent web server access logs to build a list of the top few client domains that have requested to be connected to one of the web servers of the Internet host.
  • the list includes the top m client domains that have connected to the web servers in the past few days.
  • a client domain is defined as a collection of clients or proxies that collectively cache DNS responses.
  • An example of client domains include the large ISPs, which collectively provide Internet access to a large segment of the Internet community.
  • Table 2 below is an example of a list illustrating high traffic client domains, the number of accesses received from each of the client domains and the overall percentage of accesses from each client domain, as shown in columns 1 -3 of Table 2.
  • one embodiment of the present invention apportions the client domains among the multiple web servers of the Internet host such that the percentage of requests searched by each one of the web servers is proportional to the relative weight of each respective web server. Stated differently, one embodiment of the present invention apportions the client domains among the multiple web servers of the Internet host such that there is a reduced probability of a load imbalance between the web servers. As a result, the probability of each Internet service provider contacting the same web server due to skewed locking is reduced. As shown in column 4 of Table 2, the client domains are apportioned to different web servers and IP addresses such that the different web servers receive requests roughly proportional to their relative weights.
  • FIG. 6 is a flow diagram illustrating the processing steps of a DNS server with the skewed lock prevention setting activated in accordance with the teachings of one embodiment of the present invention.
  • a DNS resolution request is received by the DNS and the client domain of the requester is identified.
  • the DNS returns the IP address of the web server apportioned to the client domain such that the overall percentage of requests served by each web server is proportional to the relative weight of each respective web server.
  • Figure 7 is a flow diagram illustrating the processing steps performed by one embodiment of the present invention to apportion the client domains among the multiple web servers of the Internet host, similar to the list shown in Table 2 above.
  • the processing steps illustrated in Figure 7 may be performed as often as desired to provide current information to client domains such that overall web server response time and performance are improved.
  • one embodiment of the present invention first reads a list of the IP addresses of the web servers for the Internet host and their relative weights, connects to each of the web servers and removes the down web servers from the list as illustrated in steps 701 -705. Next, the top m client domains that have connected to the web servers in the past x days are identified.
  • the top 100 (m) client domains that have connected to the web servers in the past 2 days are identified. It is appreciated that greater or fewer than 100 client domains may be identified and that greater or fewer than days may be considered by another DNS server in accordance with the teachings of the present invention.
  • each of each has relative weights of w 1 ; w 2 w n and that the total weight W equals w-, + w 2 + . . . + w n .
  • T equals the total number of web server accesses in the past x days and that the number of web server access from each of the top m client domains are f 1 ( f 2 f m such that F, the total number of accesses from the top m client domains, equals fi + f 2 + ... + fm, as shown in step 709.
  • T is scaled to be an exact integer multiple of W.
  • F and f-i, f 2 , ..., f m are also scaled using the same scaling factor that was used to scale T.
  • W and w-i, w 2 , . . . , w n are scaled by T/W such that T at this point is equal to W and w-i, w 2 , . . . w n represent the load capacity of each respective web server, as shown in step 713.
  • an array C of numbers with n elements is created. Each of the elements of array C initialized to 0, as shown in processing step 715. Array C is initialized in this manner such that each element represents the currently allocated load capacity of each of the respective web servers at a particular time during the apportioning process.
  • one embodiment of the present invention loops through each of the top m client domains and finds an element in array C containing a value that indicates that the corresponding web server still has remaining load capacity to service the number (fi, f 2 , . . . , fm) of accesses from the particular top m client domain. For instance, if web server "y" has a relative weight w y , and w y minus the contents of the yth element of array C is greater than or equal to the number of accesses f x from that particular client domain, then that particular web server "y" has the load capacity to service the number of accesses f x from that particular client domain.
  • That client domain is apportioned to that particular web server in step 717.
  • the contents of the corresponding element in array C is then incremented by f x .
  • all of the top m busiest client domains are assigned to one of the multiple web server, similar to the first five rows of Table 2 above.
  • the remaining leftover load capacity of the multiple web servers of the Internet host may now be distributed to the remaining client domains that were not identified as one of the top m client domains in step 701.
  • an array A is created with R[1] + R[2] + . . . + R[n] elements.
  • R[1] elements of array A are set to a number that corresponds to the web server with leftover capacity R[1]
  • R[2] elements of array A are set to a number that corresponds to the web server with leftover capacity R[2], etc., as shown in step 723.
  • the order of the elements in array A are randomized, as shown in step 725.
  • the arrays A and C for the DNS server are initialized for the skewed lock prevention setting activated.
  • the flow diagram illustrated in Figure 8 summarizes the processing steps performed to provide the IP addresses to the client domains utilizing arrays A and C as generated in Figure 7.
  • counter C is initialized to equal 1.
  • a DNS resolution request is received and the client domain of the requester is identified, as shown in steps 803 and 805.
  • the DNS server returns the IP address that corresponds to the Cth entry of array A, as assigned in processing steps 723 and 725 of Figure 7.
  • Counter C is then incremented as shown in processing step 813 and counter C is reset to equal 1 if counter C is greater than R(1 ) + R(2) + ... + R(n). Processing is then looped back to step 803 for the next DNS resolution request to be received.
  • the DNS attempts a connection to the web servers periodically to determine whether each respective web server has crashed or is generating time out errors.
  • the arrays A and C are rebuilt according to the processing steps illustrated in Figure 7 to remove the faulty web server.
  • a message identifying the faulty web server is also sent to the Internet host to inform the system administrator of the faulty web server. It is noted that the message may be sent to the Internet host using e-mail, pagers, or other well known techniques.
  • FIG. 9 is a flow diagram illustrating the processing steps performed by one embodiment of the present invention to periodically check for faulty web servers. By detecting faulty web servers in a timely manner, overall Internet response time and reliability is improved in accordance with the teachings of the present invention.
  • an HTTP connection with one of the web servers is attempted in step 901. If the HTTP connection is successful, then processing proceeds to step 913 where the DNS skips to the next web server. If, however, the HTTP connection is not successful, then it is determined whether the connection was refused, as shown in step 905. If so, then this web server has probably crashed and an attempt is made to restart the web server as shown in step 915.
  • step 915 If the restart operation of step 915 is not successful, then the web server is removed from arrays A and C and the arrays are recomputed according to the steps shown in Figure 7. ln addition, the Internet host is notified with the corresponding information regarding the faulty web server as shown in steps 919 and 921. If the restart operation of step 915 is successful, then there is no need to remove the web server from arrays A and C and processing proceeds to the next web server as shown in step 913.
  • step 907 In the event that the connection attempt of step 903 was not refused, then it is assumed that there was a time out error and another attempt to establish an HTTP connection with the web server is made in step 907. If there still is no successful connection, then it is assumed that the web server is down and that web server is then removed from arrays A and C in step 919. The Internet host is then notified of the faulty web server in step 921. If there was a successful connection after the second attempt to establish the HTTP connection with the web server, then it is assumed that this particular server is overburdened, which explains the time out error. As a result, the relative weight of that web server is reduced and the DNS tables are recomputed accordingly, as shown in step 911. Afterwards, processing proceeds to the next web server as indicated in processing step 913.
  • the present invention provides a fault tolerant, network friendly, self-learning DNS server that reduces the probability of major ISPs from locking onto a single web server.

Abstract

A method for providing Internet protocol (IP) addresses with a domain name server (DNS) for multiple web servers of an Internet host. In one embodiment, each web server of an Internet host having multiple web servers is assigned a relative weight based on the individual processing power of the particular web server. As DNS resolution requests are received (301) from client domains, the DNS returns (303) IP addresses for the web servers such that the total number of times that each IP address of the web server is returned is proportional to the relative weight of each server relative to the total weight of all the servers.

Description

AN IMPROVED METHOD FOR PROVIDING AN INTERNET PROTOCOL ADDRESS WITH A DOMAIN NAME SERVER
BACKGROUND OF THE INVENTION
Field of the Invention
The present invention relates generally to the Internet and, more specifically, the present invention relates to Internet addressing.
Background Information
The Internet has brought about an information revolution through the development of computerized information resources, on-line services and the World Wide Web (WWW). With enormous amounts of data on almost any topic imaginable available on the Internet, an ever increasing number of computers and users have been connected to the Internet.
Computers on the Internet address each other with a unique Internet protocol (IP) addresses. Since it is generally easier to memorize words and phrases than it is to remember long sequences of numbers, domain name servers (DNS) perform the important task of converting a host name, such as for example "www.whowhere.com," to an IP address, such as for example "205.230.1.5."
Figure 1 is a block diagram that illustrates a client 101 trying to connect to a web server 103 of an Internet Host ABC. As shown in Figure 1 , client 101 makes a DNS resolution request 107 to DNS server 105 to request the IP address of web server 103. DNS server 105 returns the IP address response 109 in reply to the DNS resolution request 107. After client 101 has received the IP address response 109 of web server 103, client 101 sends the hypertext transfer protocol (HTTP) request 111 to web server 103, which is addressed by IP address included in IP address response 109, and web server 103 therefore responds with an HTTP response 113 as shown in Figure 1.
Although there is a vast number of Internet or WWW sites around the globe, a considerable amount of Internet traffic is served by a small proportion of those sites. As a result, it is desirable for these Internet of WWW sites to have high reliability as well as fast response times. As such, many Internet sites run multiple web servers that serve identical content. By distributing the workload between multiple web servers, an overall site can generally handle more requests than a single web server, each of which has a unique IP address, and the failure of a single web server may not necessarily result in the entire site of an Internet host being down.
Figure 2 is a block diagram illustrating a client 201 trying to connect to one of the web servers 203A-C of Internet Host ABC. One approach for client 201 to connect to one of the individual web servers 203A-C would be for the user or client to remember multiple host names for each of the web servers 203A-C. To illustrate, web server 203A could have a host name "www1.lnternet_Host_ABC.com," web server 203B could have a host name "www2.lnternet_Host_ABC.com" and server 203C could have a host name "www3.lnternet_Host_ABC.com." When a user desires to connect to one of the web servers 203A-C, the user could use any one of the unique host names. However, since it is undesirable to require a user to memorize different host names for each of the individual web servers of an Internet host, DNS server 205 associates multiple servers, and therefore multiple IP addresses, with a single host name. Thus, when the user, or client 201 makes a DNS resolution request 207 to DNS server 205 for a host name to IP address translation, DNS server 205 returns all IP addresses in IP address response 209 for the host name in random order. In general, client 201 usually uses the first IP address.
In the example illustrated in Figure 2, DNS server 205 returns three IP addresses in IP address response 209 in random order. Each IP address corresponds to one of the web servers 203A-C. Client 201 uses the first IP address and sends and HTTP request 211 to the web server 203B identified by the first IP address returned by DNS server 205. In response, web server 203B returns an HTTP response 213 back to client 201.
DNS interactions such as DNS resolution requests 107 and 207 as well as IP address responses 109 and 209 of Figures 1 and 2 respectively constitute a significant portion of total Internet traffic. As a result, some clients 101 or 201 generally cache the Internet host name to IP address translation for a period of time. This concept is sometimes referred to as DNS caching. Several issues are considered when determining the length of time a client should cache an Internet host name to IP address translation. A shorter cache time, sometimes referred to as time-to-live (TTL), leads to increased DNS traffic and slower response times since a client makes a greater number of DNS resolution requests 107 and 207 as shown in Figures 1 and 2 respectively. Longer TTL times may result in a "skewed locking" problem. Skewed locking is generally undesirable and occurs when a disproportionate amount of Internet clients address the same individual web server of an Internet site, even though the Internet site may employ multiple servers.
To illustrate, some of the largest client domains, or Internet service providers (ISPs), together constitute nearly two-thirds of the total Internet traffic. These large client domains cache DNS translations for TTL amount of time. Since existing DNS implementations return IP addresses in random order, as shown in Figure 2, it is possible that all of the major ISPs receive the same sequence of IP addresses for a particular host. Consequently, an undesirable load imbalance results between the multiple web servers of the Internet host. Referring to Figure 2, one web server 203B may be heavily burdened with HTTP requests 211 while the other web servers 203A and 203C remain idle. Consequently, web servers 203A-C are not efficiently utilized and overall Internet traffic and response times are compromised as a result.
Thus, what is desired is an improved method for providing IP addresses for the multiple web servers of an Internet host. Such a method would efficiently utilize the multiple web servers of an Internet host as well as reduce the skewed locking problems such that overall Internet traffic and response times are reduced. SUMMARY OF THE INVENTION
A method for providing IP addresses of web servers with a DNS is described. In one embodiment, a DNS is configured to receive a DNS resolution request from a client domain and the DNS returns the IP address of one of the web servers of the Internet host such that the total number of times that the IP address of each particular web server is returned is proportional to the relative weight of each respective web server relative to the total weight of all the web servers of the Internet host. In another embodiment, the top client domains that have recently requested to be connected to the web servers are identified. The number of times each one of the top client domains have requested to be connected to the web servers is also determined. Each of the identified top client domains are then apportioned among the web servers of the
Internet host such that the percentage of requests served by each one of the web servers is proportional to the relative weight of each respective web server. A DNS resolution request may then be received from one of the client domains and the DNS then returns the IP address of the web server to which that particular client domain was apportioned. Additional features and benefits of the present invention will become apparent from the detailed description, figures and claims set forth below.
BRIEF DESCRIPTION OF THE DRAWINGS
The present invention is illustrated by way of example and not limitation in the accompanying figures.
Figure 1 is a block diagram of a DNS server providing an IP address to a client for an Internet host that includes one web server.
Figure 2 is an illustration of a DNS server providing a list IP addresses in random order to a client for an Internet host with multiple web servers.
Figure 3 is a flow diagram illustrating the operation of a DNS server with skewed lock prevention off in accordance with the teachings of one embodiment of the present invention.
Figure 4 is a flow diagram illustrating the initialization of internal arrays or tables of another embodiment of a DNS server with skewed lock prevention off in accordance with the teachings of one embodiment of the present invention.
Figure 5 is a flow diagram illustrating the operation of a DNS server serving client queries using the internal arrays or tables as initialized in Figure 4 with skewed lock prevention off in accordance with the teachings of another embodiment of the present invention.
Figure 6 is a flow diagram illustrating the operation of a DNS server with skewed lock prevention on in accordance with the teachings of one embodiment of the present invention.
Figure 7 is a flow diagram illustrating the initialization of internal arrays or tables of another embodiment of a DNS server with skewed lock prevention on in accordance with the teachings of the present invention.
Figure 8 is a flow diagram illustrating the operation of a DNS server serving client queries using the internal arrays or tables as initialized in Figure 7 with skewed lock prevention on in accordance with the teachings of another embodiment of the present invention.
Figure 9 is a flow diagram illustrating the operation of a DNS server verifying that the web servers are not down and are not generating time out errors in accordance with the teachings of another embodiment of the present invention.
DETAILED DESCRIPTION
An improved method for providing IP addresses with a DNS for Internet hosts with multiple servers is disclosed. In the following description numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one having ordinary skill in the art that the specific detail need not be employed to practice the present invention. In other instances, well known materials or methods have not been described in detail in order to avoid obscuring the present invention.
Several embodiments of the present invention include various steps, which will be described below. The steps may be embodied in machine-executable instructions, which may be used to cause a general- purpose or special-purpose processor programmed with the instructions to perform the steps. Alternatively, the steps of the present invention may be performed by specific hardware components that contain hardwired logic for performing the steps, or by any combination of programmed computer components and custom hardware components.
One embodiment of the present invention provides an improved method for providing IP addresses by modifying existing DNS servers, and without any changes to clients, to solve the problems associated with present day DNS servers. In one embodiment, a DNS server capable of balancing the workload between multiple web servers in a fault tolerant and reliable way is described. The DNS has the ability to adapt to varying loads between client domains and ISPs. Instead of returning the IP addresses in a random order in response to a DNS resolution request, a DNS in accordance with one embodiment of the present invention returns IP addresses in such a way that all web servers of an Internet host roughly get their "fair share," thereby reducing DNS traffic at the same time. ln another embodiment, the system administrator of an Internet host specifies a list of IP addresses for the web servers of the Internet host and their relative strengths.
In yet another embodiment, the DNS server monitors the access logs for the past several days to identify the client domains that most frequently access the Internet host and the percentage of accesses from each of the client domains. Static arrays, lists or tables are constructed by one embodiment of the present invention to assign an IP address to the client domains that most frequently access the Internet host. As long as all the web servers are operational, the DNS sends back the assigned IP address to these client domains. A weighted random IP address is returned to other client domains that are not considered to have frequently accessed the Internet host recently. If one of the web server crashes or otherwise becomes unavailable, the static arrays are recomputed.
In one embodiment a system administrator initially specifies the relative processing power of the multiple servers of an Internet host that serve similar content. Table 1 below show and example of an Internet host ABC with three web servers, each of which has a relative weight and a unique IP address.
TABLE 1
Figure imgf000010_0001
As shown in Table 1 , the first web server has a relative weight of 6 and the second two web servers have a relative weight of 7. It is appreciated that the present invention is not limited to an Internet host having only three web servers or web servers having relative weights as shown. The example given above is for illustration purposes only and the present invention may also be applied to Internet hosts having greater or fewer web servers and different relative weights. It is noted that the system administrator may use discretion in assigning the relative weights based on any number of factors. In one embodiment, the relative weights are assigned according to the relative processing power of each particular web server.
In one embodiment, the present invention provides IP addresses to client domains requesting an IP address based on the relative weights of each particular web server such that the workload is balanced between each of the web servers. In one embodiment of the present invention, a DNS in accordance with the teachings of the present invention includes a skewed lock prevention setting that may be activated or deactivated.
Figure 3 is a flow diagram that illustrates the processing steps of a DNS server returning IP addresses with skewed lock prevention deactivated. In step 301 , the DNS receives a DNS resolution request. In step 303, the DNS returns the IP address of a web server such that the total number of times that the IP address of each one of the web servers is returned in proportional to the relative weight of each web server. In another embodiment, the DNS randomizes the list of web servers in a manner similar to existing DNS implementations, with the exception that the more powerful servers appear at the top of the list more often, proportional to their relative weights. To illustrate, if a first server is configured to be twice as powerful as a second server, the first server will appear at the top of the response list 67 percent of the time.
In another embodiment of the present invention, the DNS periodically determines whether each one of the web servers is not functioning properly or is generating time out errors. If a web server has crashed and is therefore unavailable to serve clients, the DNS discontinues providing the IP address of the down server to clients thereby providing improved service to the client with increased reliability. If the web server is generating time out errors, there is a possibility that the web server has become overburdened with serving client requests and the relative weight of that particular web server may thereby be reduced. In both instances, one embodiment of the present invention notifies the system administrators of the host so that the problems with the web servers may be corrected.
Figure 4 is a flow diagram illustrating the processing steps of another embodiment of the present invention with the skewed lock prevention setting deactivated. In step 401 , the DNS reads a list of IP addresses of web servers for given host name and their relative weights, similar to Table 1 above. Next, the DNS connects to each web server and removes the down web servers from the list as shown in steps 403 and 405. Assuming that there are n web servers for a given host name and that each one of the n web servers have weights of w-i, w2 wn, the total weight W equals w1 + w2 + . . . + wn as shown in steps 405 and 407. Next, an array A of numbers with W elements is created. In one embodiment, the first w1 elements of array A are assigned a number, such as for example 1 , which corresponds to the web server with weight w Then, the next w2 elements of array A are set to a number, such as for example 2, which corresponds to the web server with weight w2. This procedure continues for all n web servers. Assuming the web servers discussed in Table 1 above, array A would have twenty (6 + 7 + 7) elements, in which six of the elements are set to a number that corresponds to IP address 19.2.15.1 , seven of the elements set to a number that corresponds to IP address 205.230.1.5 and seven of the elements set to a number corresponding to IP address 206.21.7.25. After array A has been created and the numbers set accordingly, the order of all of the elements and array A are randomized as shown in step 413. In one embodiment, array A is periodically recomputed as desired such that the lists of IP addresses with their relative weights remain current.
Figure 5 is a flow diagram illustrating the processing steps performed by the DNS while utilizing array A as generated according to Figure 4 and serving DNS resolution requests from the clients. As shown in step 501 , counter C is initially set to equal 1. Then, DNS resolution requests are received from the client as shown in step 503. As shown in step 505, the DNS returns the IP address of the server that corresponds to the Cth entry of array A. Counter C is incremented as shown in step 507. If counter has been incremented to a value greater than W, counter C is then reset to equal 1 as shown in step 509. Afterwards, processing loops back to step 503 and subsequent DNS resolution requests are serviced accordingly. Each time array A is reconstructed according to Figure 4, counter C is reinitialized to equal 1 according to step 501 and processing loops through steps 503-509 indefinitely.
If the skewed lock prevention setting one embodiment of the present invention is activated, the DNS performs additional steps to attempt to balance the workload across the multiple web servers of an Internet host. In one embodiment, the DNS periodically reads and processes the recent web server access logs to build a list of the top few client domains that have requested to be connected to one of the web servers of the Internet host. In one embodiment, the list includes the top m client domains that have connected to the web servers in the past few days. In one embodiment, a client domain is defined as a collection of clients or proxies that collectively cache DNS responses. An example of client domains include the large ISPs, which collectively provide Internet access to a large segment of the Internet community.
Table 2 below is an example of a list illustrating high traffic client domains, the number of accesses received from each of the client domains and the overall percentage of accesses from each client domain, as shown in columns 1 -3 of Table 2.
TABLE 2
Figure imgf000014_0001
Based on the data of Table 2, one embodiment of the present invention apportions the client domains among the multiple web servers of the Internet host such that the percentage of requests searched by each one of the web servers is proportional to the relative weight of each respective web server. Stated differently, one embodiment of the present invention apportions the client domains among the multiple web servers of the Internet host such that there is a reduced probability of a load imbalance between the web servers. As a result, the probability of each Internet service provider contacting the same web server due to skewed locking is reduced. As shown in column 4 of Table 2, the client domains are apportioned to different web servers and IP addresses such that the different web servers receive requests roughly proportional to their relative weights.
Figure 6 is a flow diagram illustrating the processing steps of a DNS server with the skewed lock prevention setting activated in accordance with the teachings of one embodiment of the present invention. As shown in step 601 , a DNS resolution request is received by the DNS and the client domain of the requester is identified. Next, based on a list similar to Table 2, the DNS returns the IP address of the web server apportioned to the client domain such that the overall percentage of requests served by each web server is proportional to the relative weight of each respective web server.
Figure 7 is a flow diagram illustrating the processing steps performed by one embodiment of the present invention to apportion the client domains among the multiple web servers of the Internet host, similar to the list shown in Table 2 above. The processing steps illustrated in Figure 7 may be performed as often as desired to provide current information to client domains such that overall web server response time and performance are improved. As shown in Figure 7, one embodiment of the present invention first reads a list of the IP addresses of the web servers for the Internet host and their relative weights, connects to each of the web servers and removes the down web servers from the list as illustrated in steps 701 -705. Next, the top m client domains that have connected to the web servers in the past x days are identified. In one embodiment, the top 100 (m) client domains that have connected to the web servers in the past 2 days are identified. It is appreciated that greater or fewer than 100 client domains may be identified and that greater or fewer than days may be considered by another DNS server in accordance with the teachings of the present invention.
Next, it is assumed that there are n web servers for the given
Internet host, each of each has relative weights of w1 ; w2 wn and that the total weight W equals w-, + w2 + . . . + wn. In addition, it is assumed that T equals the total number of web server accesses in the past x days and that the number of web server access from each of the top m client domains are f1 ( f2 fm such that F, the total number of accesses from the top m client domains, equals fi + f2 + ... + fm, as shown in step 709. Next, T is scaled to be an exact integer multiple of W. F and f-i, f2, ..., fm are also scaled using the same scaling factor that was used to scale T. Afterwards, W and w-i, w2, . . . , wn are scaled by T/W such that T at this point is equal to W and w-i, w2, . . . wn represent the load capacity of each respective web server, as shown in step 713. Next, an array C of numbers with n elements is created. Each of the elements of array C initialized to 0, as shown in processing step 715. Array C is initialized in this manner such that each element represents the currently allocated load capacity of each of the respective web servers at a particular time during the apportioning process. In step 717, one embodiment of the present invention loops through each of the top m client domains and finds an element in array C containing a value that indicates that the corresponding web server still has remaining load capacity to service the number (fi, f2, . . . , fm) of accesses from the particular top m client domain. For instance, if web server "y" has a relative weight wy, and wy minus the contents of the yth element of array C is greater than or equal to the number of accesses fx from that particular client domain, then that particular web server "y" has the load capacity to service the number of accesses fx from that particular client domain. Thus, that client domain is apportioned to that particular web server in step 717. After this apportionment, the contents of the corresponding element in array C is then incremented by fx. After processing step 717 is completed, all of the top m busiest client domains are assigned to one of the multiple web server, similar to the first five rows of Table 2 above.
The remaining leftover load capacity of the multiple web servers of the Internet host may now be distributed to the remaining client domains that were not identified as one of the top m client domains in step 701. This process is similar to the weighted random server assignment described in Figure 4 with the skewed lock prevention setting deactivated. Accordingly, in one embodiment of the present invention, and array R of numbers with n elements is created. Each entry in array R is loaded with a number representing the leftover capacity of a corresponding one of the n web servers stored in array C, as shown in step 719. Stated differently, R[i] = w, - C[i]. Thus, R[1] contains the leftover capacity of web server 1 , R[2] contains the leftover capacity of web server 2, etc. Next, an array A is created with R[1] + R[2] + . . . + R[n] elements. R[1] elements of array A are set to a number that corresponds to the web server with leftover capacity R[1], R[2] elements of array A are set to a number that corresponds to the web server with leftover capacity R[2], etc., as shown in step 723. Next, the order of the elements in array A are randomized, as shown in step 725.
At this point, the arrays A and C for the DNS server are initialized for the skewed lock prevention setting activated. When serving requests, the flow diagram illustrated in Figure 8 summarizes the processing steps performed to provide the IP addresses to the client domains utilizing arrays A and C as generated in Figure 7. As shown in step 801 , counter C is initialized to equal 1. Next, a DNS resolution request is received and the client domain of the requester is identified, as shown in steps 803 and 805. Next, it is determined whether the client domain is one of the top m client domains as identified in step 707 of Figure 7. If so, the DNS server sends the IP address of the web server that corresponds to that particular client domain as assigned in step 717 of Figure 7. If the client domain was not one of the top m client domains, then the DNS server returns the IP address that corresponds to the Cth entry of array A, as assigned in processing steps 723 and 725 of Figure 7. Counter C is then incremented as shown in processing step 813 and counter C is reset to equal 1 if counter C is greater than R(1 ) + R(2) + ... + R(n). Processing is then looped back to step 803 for the next DNS resolution request to be received.
As discussed earlier, in one embodiment of the present invention, the DNS attempts a connection to the web servers periodically to determine whether each respective web server has crashed or is generating time out errors. In the event of a web server crash, the arrays A and C are rebuilt according to the processing steps illustrated in Figure 7 to remove the faulty web server. In another embodiment of the present invention, a message identifying the faulty web server is also sent to the Internet host to inform the system administrator of the faulty web server. It is noted that the message may be sent to the Internet host using e-mail, pagers, or other well known techniques.
Figure 9 is a flow diagram illustrating the processing steps performed by one embodiment of the present invention to periodically check for faulty web servers. By detecting faulty web servers in a timely manner, overall Internet response time and reliability is improved in accordance with the teachings of the present invention. As shown in Figure 9, an HTTP connection with one of the web servers is attempted in step 901. If the HTTP connection is successful, then processing proceeds to step 913 where the DNS skips to the next web server. If, however, the HTTP connection is not successful, then it is determined whether the connection was refused, as shown in step 905. If so, then this web server has probably crashed and an attempt is made to restart the web server as shown in step 915. If the restart operation of step 915 is not successful, then the web server is removed from arrays A and C and the arrays are recomputed according to the steps shown in Figure 7. ln addition, the Internet host is notified with the corresponding information regarding the faulty web server as shown in steps 919 and 921. If the restart operation of step 915 is successful, then there is no need to remove the web server from arrays A and C and processing proceeds to the next web server as shown in step 913.
In the event that the connection attempt of step 903 was not refused, then it is assumed that there was a time out error and another attempt to establish an HTTP connection with the web server is made in step 907. If there still is no successful connection, then it is assumed that the web server is down and that web server is then removed from arrays A and C in step 919. The Internet host is then notified of the faulty web server in step 921. If there was a successful connection after the second attempt to establish the HTTP connection with the web server, then it is assumed that this particular server is overburdened, which explains the time out error. As a result, the relative weight of that web server is reduced and the DNS tables are recomputed accordingly, as shown in step 911. Afterwards, processing proceeds to the next web server as indicated in processing step 913.
Thus, what has been described as an improved method for providing IP addresses with a DNS server for multiple web servers. With the presently described method, the workload between multiple servers is more evenly distributed. In addition, the present invention provides a fault tolerant, network friendly, self-learning DNS server that reduces the probability of major ISPs from locking onto a single web server.
In the foregoing detailed description, the method and apparatus of the present invention have been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the present invention. The present specification and figures are accordingly to be regarded as illustrative rather than restrictive.

Claims

What is claimed is:
1 ) In an Internet domain name server (DNS), a method of providing an Internet Protocol (IP) address of a first one of a plurality of servers of an Internet host, the method comprising the steps of: receiving a DNS resolution request; and returning the IP address of the first one of the plurality of servers such that a total number of times that the IP address of the first one of the plurality of servers is returned is proportional to a relative weight of the first one of the plurality of servers relative to a total weight of the plurality servers.
2) The method described in claim 1 including the additional steps of: periodically determining whether each one of the plurality of servers is down; setting to zero the relative weight of each one of the plurality of servers that is down; and recalculating the total weight of the plurality of servers.
3) The method described in claim 2 including the additional step of informing the Internet host of each one of the plurality of servers that is down.
4) The method described in claim 1 including the additional steps of: periodically determining whether each one of the plurality of servers is generating a time out error; reducing the relative weight of each one of the plurality of servers that generate the time out error; and recalculating the total weight of the plurality of servers.
5) The method described in claim 4 including the additional step of notifying the Internet host of each one of the plurality of servers that is generating the time out error.
6) The method described in claim 1 wherein the first one of the plurality of servers is returned in a list including IP addresses of the other ones of the plurality of servers such that a total number of times that the IP address of the first one of the plurality of servers is at a top of the list is proportional to the relative weight of the first one of the plurality of servers relative to the total weight of the plurality servers.
7) In a domain name server (DNS), a method of providing an Internet Protocol (IP) address of one of a plurality of servers of an Internet host, the method comprising the steps of: identifying a plurality of client domains that have recently requested to be connected to the plurality of servers; apportioning the plurality of client domains among the plurality of servers such that a percentage of requests served by each one of the plurality of servers is proportional to a relative weight of each respective one of the plurality of servers; receiving a DNS resolution request from one of the plurality of client domains; returning an IP address of one of the plurality of servers to which the one of the client domains was apportioned.
8) The method described in claim 7 wherein the step of apportioning the plurality of client domains among the plurality of servers includes the step of identifying a number of times each one of the plurality of client domains has recently requested being connected to the plurality of servers.
9) The method described in claim 8 wherein the step of identifying a number of times each one of the plurality of client domains has recently requested being connected to the plurality of servers includes the step of reading a recent server log of the Internet host.
10) The method described in claim 7 wherein the IP address of the one of the plurality of servers to which the one of the client domains was apportioned is returned in a list including IP addresses of the other ones of the plurality of servers such that the IP address of the one of the plurality of servers to which the one of the client domains was apportioned is at a top of the list.
1 1 ) The method described in claim 7 including the additional steps of: periodically determining whether each one of the plurality of servers is down; setting to zero the relative weight of each one of the plurality of servers that is down; and recalculating the total weight of the plurality of servers. 12) The method described in claim 11 including the additional step of notifying the Internet host of each one of the plurality of servers that is down.
13) The method described in claim 7 including the additional steps of: periodically determining whether each one of the plurality of servers is generating a time out error; reducing the relative weight of each one of the plurality of servers that generate the time out error; and recalculating the total weight of the plurality of servers.
14) The method described in claim 13 including the additional step of notifying the Internet host of each one of the plurality of servers that is generating the time out error.
15) The method described in claim 7 including the additional steps of: receiving a DNS resolution request from a client domain not included in the plurality of client domains that have recently requested to be connected to the plurality of servers; and returning the IP address of a first one of the plurality of servers such that a total number of times that the IP address of the first one of the plurality of servers is returned is proportional to a leftover capacity of the first one of the plurality of servers relative to a total leftover capacity of the plurality servers.
16) The method described in claim 7 wherein the plurality of client domains that have recently requested to be connected to the plurality of servers include client domains that have recently frequently requested to be connected to the plurality of servers.
17) In a domain name server (DNS), a method of providing an Internet Protocol (IP) address of one of a plurality of servers of an Internet host, the method comprising the steps of: determining a relative weight for each one of the plurality of servers; calculating a total weight of the plurality of servers identifying a plurality of client domains that have recently frequently requested to be connected to the plurality of servers; identifying a number of times each one of the plurality of client domains has recently connected to the plurality of servers calculating a total number of times the plurality of servers has been connected to the plurality of client domains; apportioning the plurality of client domains among the plurality of servers such that the relative weight of the first one of the plurality of servers in comparison to the total weight of the plurality servers is approximately proportional to a cumulative number of times each one of the plurality of client domains apportioned to the first one of the plurality of servers has recently connected to the plurality of servers in comparison to the total number of times the plurality of servers has been connected to the plurality of client domains; receiving a DNS resolution request from one of the plurality of client domains; and returning an IP address of one of the plurality of servers to which the one of the client domains was apportioned. 18) The method described in claim 17 including the additional steps of: receiving a DNS resolution request from a client domain not included in the plurality of client domains that have recently frequently requested to be connected to the plurality of servers; and returning the IP address of a first one of the plurality of servers such that a total number of times that the IP address of the first one of the plurality of servers is returned is proportional to a leftover capacity of the first one of the plurality of servers relative to a total leftover capacity of the plurality servers.
19) The method described in claim 17 including the additional steps of: periodically determining whether each one of the plurality of servers is down; setting to zero the relative weight of each one of the plurality of servers that is down; and recalculating the total weight of the plurality of servers.
20) The method described in claim 17 including the additional steps of: periodically determining whether each one of the plurality of servers is generating a time out error; reducing the relative weight of each one of the plurality of servers that generate the time out error; and recalculating the total weight of the plurality of servers.
PCT/US1998/008679 1997-05-02 1998-04-29 An improved method for providing an internet protocol address with a domain name server WO1998050863A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU71701/98A AU7170198A (en) 1997-05-02 1998-04-29 An improved method for providing an internet protocol address with a domain nameserver

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/850,782 US5884038A (en) 1997-05-02 1997-05-02 Method for providing an Internet protocol address with a domain name server
US08/850,782 1997-05-02

Publications (1)

Publication Number Publication Date
WO1998050863A1 true WO1998050863A1 (en) 1998-11-12

Family

ID=25309100

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1998/008679 WO1998050863A1 (en) 1997-05-02 1998-04-29 An improved method for providing an internet protocol address with a domain name server

Country Status (3)

Country Link
US (1) US5884038A (en)
AU (1) AU7170198A (en)
WO (1) WO1998050863A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001089172A2 (en) * 2000-05-16 2001-11-22 Speedera Networks, Inc. Meta content delivery network system
US7185052B2 (en) 2001-05-16 2007-02-27 Akamai Technologies, Inc. Meta content delivery network system
EP1860519A2 (en) * 1999-02-26 2007-11-28 Henry Haugland Mass Generation of Individual Virtual Servers, Virtual Web Sites and Virtual Web Objects
EP1969479A2 (en) * 2005-11-21 2008-09-17 Limelight Networks, Inc. Domain name resolution resource allocation
US8195831B2 (en) 2000-07-19 2012-06-05 Akamai Technologies Inc. Method and apparatus for determining and using server performance metrics with domain name services
US8341297B2 (en) 2000-07-19 2012-12-25 Akamai Technologies, Inc. Latencies and weightings in a domain name service (DNS) system
CN105681483A (en) * 2015-12-29 2016-06-15 赛尔网络有限公司 Method and system for measuring specific IP range analysis proportion based on DNS (Domain Name System) server

Families Citing this family (90)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6223209B1 (en) * 1997-09-30 2001-04-24 Ncr Corporation Distributed world wide web servers
US6378130B1 (en) * 1997-10-20 2002-04-23 Time Warner Entertainment Company Media server interconnect architecture
US6134588A (en) * 1997-11-12 2000-10-17 International Business Machines Corporation High availability web browser access to servers
US6108652A (en) * 1997-12-01 2000-08-22 At&T Corp. Multicast probability-base grouping of nodes in switched network for improved broadcast search
US6542498B2 (en) * 1997-12-09 2003-04-01 Michael V. Socaciu Signaling system and method to connect idle internet end stations with application in internet telephony
US6185598B1 (en) 1998-02-10 2001-02-06 Digital Island, Inc. Optimized network resource location
US7054935B2 (en) * 1998-02-10 2006-05-30 Savvis Communications Corporation Internet content delivery network
US8060613B2 (en) * 1998-02-10 2011-11-15 Level 3 Communications, Llc Resource invalidation in a content delivery network
US6055574A (en) * 1998-03-10 2000-04-25 Unisys Corporation Method of providing a service through a server with a virtual single network address
US6243750B1 (en) * 1998-03-26 2001-06-05 International Business Machines Corporation Method and system for measuring Web site access requests
US6262987B1 (en) * 1998-03-26 2001-07-17 Compaq Computer Corp System and method for reducing latencies while translating internet host name-address bindings
US6101499A (en) * 1998-04-08 2000-08-08 Microsoft Corporation Method and computer program product for automatically generating an internet protocol (IP) address
US6108703A (en) * 1998-07-14 2000-08-22 Massachusetts Institute Of Technology Global hosting system
US6665702B1 (en) 1998-07-15 2003-12-16 Radware Ltd. Load balancing
US6249801B1 (en) * 1998-07-15 2001-06-19 Radware Ltd. Load balancing
US6421732B1 (en) * 1998-08-27 2002-07-16 Ip Dynamics, Inc. Ipnet gateway
US10511573B2 (en) 1998-10-30 2019-12-17 Virnetx, Inc. Agile network protocol for secure communications using secure domain names
US6502135B1 (en) * 1998-10-30 2002-12-31 Science Applications International Corporation Agile network protocol for secure communications with assured system availability
US6826616B2 (en) 1998-10-30 2004-11-30 Science Applications International Corp. Method for establishing secure communication link between computers of virtual private network
US7418504B2 (en) 1998-10-30 2008-08-26 Virnetx, Inc. Agile network protocol for secure communications using secure domain names
EP1125419B1 (en) 1998-10-30 2009-08-26 VirnetX Inc. An agile network protocol for secure communications with assured system availability
US6324585B1 (en) * 1998-11-19 2001-11-27 Cisco Technology, Inc. Method and apparatus for domain name service request resolution
US6289383B1 (en) * 1998-11-30 2001-09-11 Hewlett-Packard Company System and method for managing data retrieval bandwidth
US6425003B1 (en) * 1999-01-22 2002-07-23 Cisco Technology, Inc. Method and apparatus for DNS resolution
US7177947B1 (en) 1999-01-22 2007-02-13 Cisco Technology, Inc. Method and apparatus for DNS resolution
US6571288B1 (en) * 1999-04-26 2003-05-27 Hewlett-Packard Company Apparatus and method that empirically measures capacity of multiple servers and forwards relative weights to load balancer
US6351743B1 (en) * 1999-05-26 2002-02-26 Lucent Technologies Inc. Method and apparatus for operating domain name servers
US6668327B1 (en) * 1999-06-14 2003-12-23 Sun Microsystems, Inc. Distributed authentication mechanisms for handling diverse authentication systems in an enterprise computer system
US6275470B1 (en) 1999-06-18 2001-08-14 Digital Island, Inc. On-demand overlay routing for computer-based communication networks
US6446218B1 (en) 1999-06-30 2002-09-03 B-Hub, Inc. Techniques for maintaining fault tolerance for software programs in a clustered computer system
US6449657B2 (en) 1999-08-06 2002-09-10 Namezero.Com, Inc. Internet hosting system
US8543901B1 (en) 1999-11-01 2013-09-24 Level 3 Communications, Llc Verification of content stored in a network
US7925713B1 (en) * 1999-11-22 2011-04-12 Akamai Technologies, Inc. Method for operating an integrated point of presence server network
US6405252B1 (en) * 1999-11-22 2002-06-11 Speedera Networks, Inc. Integrated point of presence server network
US6694358B1 (en) 1999-11-22 2004-02-17 Speedera Networks, Inc. Performance computer network method
US7590739B2 (en) 1999-11-22 2009-09-15 Akamai Technologies, Inc. Distributed on-demand computing system
US6629145B1 (en) * 2000-03-01 2003-09-30 Avaya Technology Corp. System and method of network independent remote configuration of internet server appliance
US6684250B2 (en) * 2000-04-03 2004-01-27 Quova, Inc. Method and apparatus for estimating a geographic location of a networked entity
US7240100B1 (en) 2000-04-14 2007-07-03 Akamai Technologies, Inc. Content delivery network (CDN) content server request handling mechanism with metadata framework support
US6778524B1 (en) 2000-06-09 2004-08-17 Steven Augart Creating a geographic database for network devices
US6826172B1 (en) 2000-06-09 2004-11-30 Steven Augart Network probing using overlapping probe packets
US7200673B1 (en) 2000-06-09 2007-04-03 Steven Augart Determining the geographic location of a network device
US6745248B1 (en) * 2000-08-02 2004-06-01 Register.Com, Inc. Method and apparatus for analyzing domain name registrations
WO2002028060A1 (en) * 2000-09-26 2002-04-04 Nokia Corporation Communication system comprising several network elements, communication method, and network element
US7233942B2 (en) * 2000-10-10 2007-06-19 Truelocal Inc. Method and apparatus for providing geographically authenticated electronic documents
KR20020035234A (en) * 2000-11-04 2002-05-11 문옥석 i-nameserver
US7685224B2 (en) * 2001-01-11 2010-03-23 Truelocal Inc. Method for providing an attribute bounded network of computers
US7146429B2 (en) * 2001-03-16 2006-12-05 The Aerospace Corporation Cooperative adaptive web caching routing and forwarding web content data requesting method
US7299269B2 (en) * 2001-06-19 2007-11-20 Sun Microsystems, Inc. Dynamically allocating data buffers to a data structure based on buffer fullness frequency
US7860964B2 (en) * 2001-09-28 2010-12-28 Level 3 Communications, Llc Policy-based content delivery network selection
EP2403219B1 (en) * 2001-09-28 2014-10-22 Level 3 CDN International, Inc. Method for name to address resolution
US7373644B2 (en) 2001-10-02 2008-05-13 Level 3 Communications, Llc Automated server replication
US20030079027A1 (en) 2001-10-18 2003-04-24 Michael Slocombe Content request routing and load balancing for content distribution networks
US20080279222A1 (en) * 2001-10-18 2008-11-13 Level 3 Communications Llc Distribution of traffic across a computer network
US7984110B1 (en) * 2001-11-02 2011-07-19 Hewlett-Packard Company Method and system for load balancing
US9167036B2 (en) * 2002-02-14 2015-10-20 Level 3 Communications, Llc Managed object replication and delivery
JP3848198B2 (en) * 2002-03-29 2006-11-22 株式会社東芝 Name server, network system, reverse request processing method, forward request processing method and communication control method
US7937471B2 (en) 2002-06-03 2011-05-03 Inpro Network Facility, Llc Creating a public identity for an entity on a network
US8234358B2 (en) * 2002-08-30 2012-07-31 Inpro Network Facility, Llc Communicating with an entity inside a private network using an existing connection to initiate communication
US7139828B2 (en) * 2002-08-30 2006-11-21 Ip Dynamics, Inc. Accessing an entity inside a private network
US7649880B2 (en) 2002-11-12 2010-01-19 Mark Adams Systems and methods for deriving storage area commands
EP1561159A4 (en) 2002-11-12 2007-08-29 Zetera Corp Electrical devices with improved communication
US7170890B2 (en) * 2002-12-16 2007-01-30 Zetera Corporation Electrical devices with improved communication
US8005918B2 (en) 2002-11-12 2011-08-23 Rateze Remote Mgmt. L.L.C. Data storage devices having IP capable partitions
US20040160975A1 (en) * 2003-01-21 2004-08-19 Charles Frank Multicast communication protocols, systems and methods
US20050149507A1 (en) * 2003-02-05 2005-07-07 Nye Timothy G. Systems and methods for identifying an internet resource address
US7949785B2 (en) 2003-03-31 2011-05-24 Inpro Network Facility, Llc Secure virtual community network system
US20040249974A1 (en) * 2003-03-31 2004-12-09 Alkhatib Hasan S. Secure virtual address realm
US20040249973A1 (en) * 2003-03-31 2004-12-09 Alkhatib Hasan S. Group agent
US7613687B2 (en) * 2003-05-30 2009-11-03 Truelocal Inc. Systems and methods for enhancing web-based searching
US20050003801A1 (en) * 2003-06-26 2005-01-06 Randall Michael S. High speed mobile terminal data communications device, system, and method
US7962914B2 (en) * 2003-11-25 2011-06-14 Emc Corporation Method and apparatus for load balancing of distributed processing units based on performance metrics
US7685279B2 (en) * 2004-03-04 2010-03-23 Quova, Inc. Geo-location and geo-compliance utilizing a client agent
US7444371B2 (en) * 2004-03-11 2008-10-28 At&T Intellectual Property Ii, L.P. Method and apparatus for limiting reuse of domain name system response information
US7702730B2 (en) 2004-09-03 2010-04-20 Open Text Corporation Systems and methods for collaboration
DE102005010690B4 (en) * 2005-03-09 2007-04-12 Knorr-Bremse Systeme für Schienenfahrzeuge GmbH Oil-injected compressor with temperature switch
US7702850B2 (en) 2005-03-14 2010-04-20 Thomas Earl Ludwig Topology independent storage arrays and methods
US7620981B2 (en) * 2005-05-26 2009-11-17 Charles William Frank Virtual devices and virtual bus tunnels, modules and methods
US7743214B2 (en) * 2005-08-16 2010-06-22 Mark Adams Generating storage system commands
US8819092B2 (en) 2005-08-16 2014-08-26 Rateze Remote Mgmt. L.L.C. Disaggregated resources and access methods
US9270532B2 (en) 2005-10-06 2016-02-23 Rateze Remote Mgmt. L.L.C. Resource command messages and methods
US7924881B2 (en) 2006-04-10 2011-04-12 Rateze Remote Mgmt. L.L.C. Datagram identifier management
US7941560B1 (en) * 2006-07-14 2011-05-10 Intuit Inc. Client caching of target addresses for network requests
US20080277314A1 (en) * 2007-05-08 2008-11-13 Halsey Richard B Olefin production utilizing whole crude oil/condensate feedstock and hydrotreating
US9762692B2 (en) 2008-04-04 2017-09-12 Level 3 Communications, Llc Handling long-tail content in a content delivery network (CDN)
US10924573B2 (en) 2008-04-04 2021-02-16 Level 3 Communications, Llc Handling long-tail content in a content delivery network (CDN)
EP2274684A4 (en) 2008-04-04 2012-12-05 Level 3 Communications Llc Handling long-tail content in a content delivery network (cdn)
US9110747B2 (en) * 2011-11-22 2015-08-18 1Elimited Obtaining program data over a network
JP5297555B1 (en) * 2012-12-04 2013-09-25 株式会社 ディー・エヌ・エー Network system
US10182006B2 (en) * 2016-10-18 2019-01-15 Avaya Inc. Internet protocol address selection in session initiation protocol communications

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5603029A (en) * 1995-06-07 1997-02-11 International Business Machines Corporation System of assigning work requests based on classifying into an eligible class where the criteria is goal oriented and capacity information is available

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5483652A (en) * 1994-01-24 1996-01-09 Digital Equipment Corporation Mechanism for locating without search discrete application resources known by common name only in a distributed network computing environment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5603029A (en) * 1995-06-07 1997-02-11 International Business Machines Corporation System of assigning work requests based on classifying into an eligible class where the criteria is goal oriented and capacity information is available

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BOYLE P: "WEB SITE TRAFFIC COPS", PC MAGAZINE (GB EDITION)., ZIFF-DAVIS, LONDON., GB, 18 February 1997 (1997-02-18), GB, pages COMPLETE, XP002910307, ISSN: 0888-8507 *
YERXA G: "WEB SERVER BALANCING: AN ACT WORTH WATCHING", NETWORK COMPUTING, MANHASSET, NY, US, 1 July 1997 (1997-07-01), US, pages 01/02, XP002910308, ISSN: 1046-4468 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1860519A2 (en) * 1999-02-26 2007-11-28 Henry Haugland Mass Generation of Individual Virtual Servers, Virtual Web Sites and Virtual Web Objects
EP1860519A3 (en) * 1999-02-26 2008-02-06 Henry Haugland Mass Generation of Individual Virtual Servers, Virtual Web Sites and Virtual Web Objects
WO2001089172A2 (en) * 2000-05-16 2001-11-22 Speedera Networks, Inc. Meta content delivery network system
WO2001089172A3 (en) * 2000-05-16 2002-04-11 Speedera Networks Inc Meta content delivery network system
US8195831B2 (en) 2000-07-19 2012-06-05 Akamai Technologies Inc. Method and apparatus for determining and using server performance metrics with domain name services
US8341297B2 (en) 2000-07-19 2012-12-25 Akamai Technologies, Inc. Latencies and weightings in a domain name service (DNS) system
US7185052B2 (en) 2001-05-16 2007-02-27 Akamai Technologies, Inc. Meta content delivery network system
EP1969479A2 (en) * 2005-11-21 2008-09-17 Limelight Networks, Inc. Domain name resolution resource allocation
EP1969479A4 (en) * 2005-11-21 2013-07-10 Limelight Networks Inc Domain name resolution resource allocation
US8645539B2 (en) 2005-11-21 2014-02-04 Limelight Networks, Inc. Domain name resolution resource allocation
CN105681483A (en) * 2015-12-29 2016-06-15 赛尔网络有限公司 Method and system for measuring specific IP range analysis proportion based on DNS (Domain Name System) server

Also Published As

Publication number Publication date
AU7170198A (en) 1998-11-27
US5884038A (en) 1999-03-16

Similar Documents

Publication Publication Date Title
US5884038A (en) Method for providing an Internet protocol address with a domain name server
US6205489B1 (en) Method for providing an internet protocol address with a domain name server
US6611861B1 (en) Internet hosting and access system and method
EP0817020B1 (en) A name service for a redundant array of internet servers
US6078943A (en) Method and apparatus for dynamic interval-based load balancing
US7272653B2 (en) System and method for implementing a clustered load balancer
US6381627B1 (en) Method and computer readable medium for discovering master DNS server computers for a given domain name in multiple master and multiple namespace configurations
US6134588A (en) High availability web browser access to servers
US6381650B1 (en) Method for finding the address of a workstation assigned a dynamic address
JP2505116B2 (en) Data processing system for network user load leveling
US20060277303A1 (en) Method to improve response time when clients use network services
US20020087612A1 (en) System and method for reliability-based load balancing and dispatching using software rejuvenation
US8046458B2 (en) Method and system for balancing the load and computer resources among computers
US6675199B1 (en) Identification of active server cluster controller
WO2000079391A1 (en) Internet server session backup apparatus
US6763372B1 (en) Load balancing of chat servers based on gradients
US20030005163A1 (en) Method and devices for providing network services from several servers
GB2333670A (en) Address allocation
Singhai et al. The SunSCALR framework for internet servers
WO2010027664A2 (en) Shared hosting using host name affinity
US20020083200A1 (en) Dynamic resource mapping in a TCP/IP environment
Yokota et al. A proposal of DNS-based adaptive load balancing method for mirror server systems and its implementation
JP2000315200A (en) Decentralized load balanced internet server
US20020133572A1 (en) Apparatus and method for providing domain name services to mainframe resource mapping
KR20030034365A (en) Method of insure embodiment slb using the internal dns

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AL AM AT AT AU AZ BA BB BG BR BY CA CH CN CU CZ CZ DE DE DK DK EE EE ES FI FI GB GE GH GM GW HU ID IL IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MD MG MK MN MW MX NO NZ PL PT RO RU SD SE SG SI SK SK SL TJ TM TR TT UA UG UZ VN YU ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW SD SZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

CFP Corrected version of a pamphlet front page

Free format text: REVISED ABSTRACT RECEIVED BY THE INTERNATIONAL BUREAU AFTER COMPLETION OF THE TECHNICAL PREPARATIONS FOR INTERNATIONAL PUBLICATIONS

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

NENP Non-entry into the national phase

Ref country code: JP

Ref document number: 1998548192

Format of ref document f/p: F

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: CA