Firstly, a little synopsis of what I'm trying to do:
I have 2 servers located separately at 2 different datacenters both with cpanel loaded and configured identically. I will be using rsync to sync up home/user directories on server 1 to server 2 with a cron running every hour in incremental mode. I will only be doing this with 2 or 3 fairly small websites, so I don't think bandwidth and server load will be too much of an issue, if it is we can just have it update less frequently. Anyway, My main question is about primary and secondary dns routing and the easiest way to control which dns's machine is loaded first... consistently.
I'm using enom as my registrar and they've told me that nameserver 1,2,3, and 4 will be queried pretty much randomly. Is there a way to control which dns's machine will in fact be loaded 1st or 2nd? Does TTL have anything to do with this and if so, how would it be configured? (ie. what server gets a different ttl setting and what's a preferred ttl setting for a secondary server?) Basically I need server1 to load before server2 (always) unless (and only) if server1 is down then server2 can load automatically without downtime.
Any help would be greatly appreciated!