DNS and IP location problem

myyis
myyis used Ask the Experts™
on
I have 2 sites: site.com and us.site.com
site.com (1.1.1.1) is hosted in Asia and us.site.com (2.2.2.2) is hosted in USA

The majority of  the visitors located in USA go to us.site.com
A few visitors located in USA  and using site.com are directed  to us.site.com with code using GeoIP location.
The problem is when the site.com fails those few users get an error.

I may use 2 A records for site.com (1.1.1.1 and 2.2.2.2) to overcome this problem but in this case lots of visitors (may be the majority) located in Asia will be redirected to 2.2.2.2 depending on the browser behaviour.

I can redirect the Asian visitors to 1.1.1.1 with code but this solution is very inefficient.

How can I solve this problem?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
You need a service like this one: http://dyn.com/traffic-director/
Of course, for something that advanced, you DO need to pay (in the form of a subscription).

Author

Commented:
This service https://cloud.google.com/dns/what-is-cloud-dns 
is cheap but I am not sure if it has a function for problem. I have read it but I have little knowledge about the subject.
Can you have a look?
Thank you

Commented:
That's just the basic DNS functions, no real geo traffic redirection/ fail over / dynamic updates logic built in.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial