Link to home
Start Free TrialLog in
Avatar of Ponthecomputer
Ponthecomputer

asked on

Is there a way to set a preference on an A record?

I have two ISP accounts and host a web server on the faster account. If it goes down, I want users to go to the web server on the slower connection. Each has an A record listed for public DNS but I notice that the records get round robined thus sending users to both sites. I only want users to visit the server on slow connection IF the fast connection is down.

I was hoping to set a preference on the records but it looks like setting preference is not an option for A records. Any ideas on how to accomplish the above?

Avatar of giltjr
giltjr
Flag of United States of America image

You can't do this with DNS.  There is no priority on DNS records for A names like there is for MX records.

You might be able to talk to your ISP and see if they can handle this using dynamic routing.   Use just one IP address for your Web server and the ISP change routing tables so that "fast ISP" link is down it will route using "slow ISP" link.
Avatar of camackay
camackay

I don't think DNS is configurable to set like a 'link cost' on DNS A records.

I'll have a think on the answer!
ASKER CERTIFIED SOLUTION
Avatar of billwharton
billwharton

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial