DNS fault tolerance service

I have two web servers replicated , i need a DNS service that watch the servers, if one them down, the service will change the dns records and point to the other server.
What those service called ?? which companies can provide this service ?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Toni UranjekConsultant/TrainerCommented:
DNS will not "watch" your servers.
The cheapest way out is to use Round Robin.
Just add two host or alias records for your website in your external DNS:

www.example.com = IP1
www.example.com = IP2

If one of servers goes down, there will be some problems.

If you need highly available solution you need to implement Network Load Balancing.
Technically speaking, DNS does not do this, it only provides name resolution.  However, more DNS providers are starting to offer monitoring and failover as an option.  Here's some examples -

I would say these types of services are not 100% effective (i.e. clients could still experience some disruption in service) though because of the effects of DNS record caching and how different ISPs handle that.

A load balancer (sounds like you're describing an active/passive setup) is not subject to the above weakness, but it could be a point of failure itself.  You could have a pair (which monitor each other), and then the WAN link could be a single point of failure.  I think you'll start to see the chain.  You just have to make the determination of what risk you're willing to tolerate and how much redundancy you can afford.  The services from the DNS provider are probably the lowest rung.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.