Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

North American Network Operators Group

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical

Re: Beyond DNS...

  • From: John Caruso
  • Date: Thu Jun 04 18:12:00 1998

> Err, they do. Here's how to set it up:  These balance the load, and if one
> machine is down, any browser which handles multiple A records properly will
> still fail over to the other machine.
> www             IN      CNAME
>                 IN      CNAME
> www1            IN      A
>                 IN      A
> www2            IN      A
>                 IN      A

This also assigns more than one CNAME to the www label, which is a bad
idea.  You can force BIND (8.x) to allow it via "multiple-cnames yes",
but you'll probably get behavior you don't want since nameservers on
the net will cache just one of the CNAMEs (this isn't a problem in the
example above, but most people don't use the same set of addresses for
www1, www2, and so on).  The BIND configuration file guide says:

If yes, then multiple CNAME resource records will be allowed for a domain
name. The default is no. Allowing multiple CNAME records is against
standards and is not recommended. Multiple CNAME support is available
because previous versions of BIND allowed multiple CNAME records, and these
records have been used for load balancing by a number of sites.

Just use multiple A records.

John Caruso, Director, System/Network Administration
CNET: The Computer Network          Email:
150 Chestnut Street                 Phone: 415.395.7805 x1310
San Francisco, CA  94111            Fax:   415.623.2458

Discussion Communities

About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home

Merit Network, Inc.