摘要 |
A method for reducing Domain Name System (DNS) lookup traffic in a computer data network in a system including a router in communication with a client computer includes the steps of receiving a DNS lookup request through a web browser when the user requests to open a particular URL. The router sends the DNS lookup request for a hostname of the web server to a DNS server and receives a corresponding IP address. The router forwards the IP address to the web browser and the web browser sends a network connection request with a file transfer request to the router. The router forwards the request to the web server. The web server responds to the request by sending an HTML document for the web page. Upon receiving the HTML document, the router examines the HTML document for the URLs associated with image elements to be downloaded for display of a web page and sends one DNS lookup request for each of the distinct hostnames, regardless of how many times that distinct hostname appears in the HTML document. The router receives IP addresses, each of which corresponds to one of each of the distinct hostnames and modifies the HTML document by replacing the each of the distinct hostnames, including their recurrences, in the URLs associated with the image elements with their corresponding IP addresses.
|