The client subnet data can include the representative CIDR block 240 which is used to make queries on behalf of all clients associated with the equivalence class 4. The representative CIDR block 240 includes a source address and either a netmask or a prefix length. As already mentioned above, the representative CIDR block 240 can be chosen arbitrarily, for example, the representative CIDR block 240 may be the least of client addresses in the equivalence class. Once the answer is received from the authority 250, the answer is stored to the cache 230 associated with the equivalency class 4, and served to the client.
In some example embodiments, cache 230 can be flushed if it is determined that the client subnet data have changed. Additionally, the answer in the cache 230 can expire after a predetermined period of time. This predetermined period of time can vary but, in generally, is smaller for more popular destinations.