Hello,
<Isn't there a way to map a name to several IPs?
<Or use aliases?
Maybe this is what you are looking for:
pandora:~# dig ftp.freenet.de
; <<>> DiG 9.2.1 <<>> ftp.freenet.de
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59136
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 3, ADDITIONAL: 3
;; QUESTION SECTION:
;ftp.freenet.de. IN A
;; ANSWER SECTION:
ftp.freenet.de. 1457 IN CNAME ftp-0.freenet.de.
ftp-0.freenet.de. 600 IN A 194.97.2.69
ftp-0.freenet.de. 600 IN A 194.97.2.70
ftp-0.freenet.de. 600 IN A 194.97.2.67
ftp-0.freenet.de. 600 IN A 194.97.2.68
This will map a name to more than one ip and will give you load-balancing
this way, but not real redundancy.
To map a service to different hosts redundant you can use a box running
ipvs. This box can be made redundant with a identical box using mon and
heartbeat to do ip failover.
Best regards,
Tim Hecktor