Patent ID: 8832245

Claim:
An authoritative domain name system server comprising: a memory configured to store a set of instructions; and a hardware processor in communication with the memory, wherein the processor executes the set of instructions to perform operations comprising: obtaining a first internet protocol address of a client system associated with a request for a domain name; assigning a location of the authoritative domain name system server as an ingress region; determining whether the first internet protocol address matches a prefix of an egress override; assigning the egress override as an egress region when the first internet protocol address matches the prefix of the egress override, otherwise obtaining an egress table, determining a longest prefix match of the first internet protocol address, obtaining a distance matrix for distances from the ingress location to a plurality of egress regions, and selecting one of the egress regions based on the distance matrix and the longest prefix match in the egress table; selecting a content node based on the one egress region; and assigning a second internet protocol address for the content node to a local domain name system server associated with the client system.