Patent ID: 8321588

Claim:
A method comprising: obtaining a DNS query from a client computing device at a first DNS server, wherein the DNS query corresponds to a requested resource associated with an original resource identifier provided by a content provider and wherein the first DNS server corresponds to a content delivery network service; obtaining a query IP address associated with the DNS query at the first DNS server, wherein the query IP address is associated with the client computing device; obtaining, at the first DNS server, a location-based identifier associated with the obtained query IP address, wherein the location-based identifier corresponds to location information associated with the client computing device and wherein the location-based identifier is different from the obtained query IP address; selecting a network point of presence associated with the content delivery network service based on the location-based identifier; determining whether the first DNS server is authoritative to the DNS query based on the selected network point of presence; and if the first DNS server is not authoritative: obtaining an alternative resource identifier based on the selected network point of presence, wherein the alternative resource identifier includes information for causing a DNS query to resolve to a domain corresponding to the selected network point of presence; and transmitting the alternative resource identifier to the client computing device.