load-balancing in DNS using two A records
novosirj at umdnj.edu
Tue Dec 20 17:45:35 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
On 12/20/2011 12:37 PM, Martin T wrote:
> I have seen setups where one domain name has two address records.
> First IP address is in the ISP-A network and the other one is in the
> ISP-B network. In case I execute "host www.<domainname>.com", I always
> get two IP addresses as a reply and they always appear by turns. Am I
> correct, that setup like this provides redundancy as well as
> load-balancing? Is there some common method in BIND to give out IP
> addresses by turns? Last but not least, how do application layer(for
> example www, ssh) handle such setup?
The only thing involved is having two A records for the same name. It's
not truly load-balancing, but it can do the trick in some circumstances.
All applications I've seen ask for and use one IP address. Therefore,
SSH will be sometimes connecting to one server and sometimes another.
Generally with SSH you care what you're connecting to and will also have
individual records for each host to use for that purpose.
- ---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 301 bytes
Desc: not available
More information about the bind-users