Patent ID: 7152118

Claim:
A method for caching domain name system information in a network gateway that includes a customer premises equipment interface, a network interface, and a cache for storing domain names and corresponding IP addresses, comprising: loading the cache with a preliminary set of domain names and corresponding IP addresses; receiving a domain name system query from a customer premises equipment over the customer premises equipment interface, said query including an unresolved domain name; determining if said unresolved domain name is stored in the cache; if said unresolved domain name is stored in the cache, obtaining an IP address corresponding to said unresolved domain name from the cache, generating a response to said query that includes said IP address corresponding to said unresolved domain name, and providing said response to the customer premises equipment interface for transmission to said customer premises equipment; and if said unresolved domain name is not stored in said cache, providing said query to the network interface for transmission to a network for resolution of said query; wherein the preliminary set of domain names and corresponding IP addresses represent a selected set of addresses in an IP network to which the customer premises equipment is entitled to have access based on restrictions made by a network entity.