I have two webservers, on separate machines, on separate networks. They are identical. I want them to respond, in round-robin fashion, to the same domain name — host.domain.com. How do I set this up in DNS? Turns out it’s actually very easy:
host.domain.com IN A 192.168.1.1 host.domain.com IN A 10.1.10.1
The DNS server (BIND, in my case) will serve up the “next” IP address for host.domain.com every time it’s queried.
Takes 10 seconds to configure.