Full Disclosure mailing list archives

Re: Server Redundancy


From: wac <waldoalvarez00 () gmail com>
Date: Sat, 12 Aug 2006 22:39:16 -0400

Hi:

Thanks I'll check ipvs.

Regards
Waldo

On 8/10/06, Tim Hecktor <th () domainbox de> wrote:

 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

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Current thread: