DNS Load Balancing

How DNS load balancing works
When the request comes to the DNS server to resolve the domain name, it gives out one of the several canonical names in a rotated order. This redirects the request to one of the several servers in a server group. Once the BIND feature of DNS resolves the domain to one of the servers, subsequent requests from the same client are sent to the same server.

DNS load balancing implementation (Multiple CNAMES)
This approach works for BIND 4 name servers, where multiple CNAMES are not considered as a configuration error. Assuming there are 4 web servers in the cluster configured with IP addresses 123.45.67.[1-4], add all of them to the DNS with Address records (A Names) as below. The srv[1-4] can be set to any name you want, such as foo[1-4], but should match the next step.

The DNS server will resolve the www.domain.com to one of the listed servers in a rotated manner. That will spread the requests over the group of servers.

Note: The requests sent to http://domain.com (without 'www') should be forwarded to http://www.domain.com in this case to work. For BIND 8 name servers, the above approach will throw an error for multiple CNAMES. This can be avoided by an explicit multiple CNAME configuration option as shown below.

DNS load balancing implementation (Multiple A Records)

This above approach with multiple CNAMES for one domain name is not a valid DNS server configuration for BIND 9 and above. In this case, multiple A records are used.

Mark henry is the author related to Load Balancer, Dual Port Router, Multiple Gateways, Server Load Balancing Xrio provide solutions for bandwidth management, load balancing, link bonding, server load balancing, multiple gateways, global traffic management, wan optimization, wan performance, isp, adsl, sdsl, dual port router, high availability router, local director, multihoming router, vpn clustering.

Hot Topics In Computers

    Choosing a Laptop Computer Based on Hardware and Software Needs

    Laptop computers are one of the most desirable techie gadgets. A laptop is a portable computer that could comfortably be used while on a person's lap - hence the name. It contains all the basic and ne...

    How To Properly Install A New Video Card

    Your video card is one of those components in your computer you want to both learn as much about it as possible and to learn how to remove the old one and install a new card quickly.Playing those awes...

    Why CRM Projects Fail

    1 Overview

    This articles looks at some of the human? i.e. people-related factors that can cause a CRM project to fail. We then look at why, for those businesses already utilising Microsoft Outlook f...

    Three Things All Affiliate Marketers Need To Survive On The Internet

    When it comes to being an affiliate marketer, every single one of them are searching for the highest paying market. Occasionally, they tend to think there is some formula available that is pure magic ...

    Why Easy To Use Software Is Putting You At Risk

    Title
    -----
    Why Easy To Use Software Is Putting You At Risk

    Can Easy To Use Software Also Be Secure
    ----------------------------
    Anyone who has been working with computers for a long tim...

    Tips On How To Choose A Satellite Internet Service Provider

    Satellite internet access is one of the ways that you can have a broadband internet connection that will allow you to surf the web at high speeds. But not only that, it's also the only broadband inter...

    How to Use Computer Data Recovery Software

    Often our computer files are messed up because our computers will write our files when we are done using them wherever there is available space. This is why it is important to use computer data recove...

    The Solution To Finding Your Lost Files - Data Recovery Companies

    When the worst happens to your computer and all your files disappear, never worry! There are a number of quality data recovery companies that are able to restore your critical files quickly and easily...

    How To Make Money In Computer Repair

    Every home seems to have a computer or computer-related product these days, so the idea that you can make money as a computer repair technician isn't so far-fetched. Computer repair is a necessary ser...

    Finding Your Niche To Get Started In Affiliate Marketing

    Getting started in affiliate marketing is really quite easy, but too often, many people mistakenly think it's a lot easier than it actually is. In most cases, the only thing you need to do to join an ...

    Office Help is Just a Click Away

    "The Internet has revolutionized many business sectors and has single-handedly created one - virtual assistance." ("More firms use virtual assistance" by Nick Eason, CNN.com)

    For many years busine...

    Adware Removal Tips

    Have you tried (and failed) to remove those annoying pop-ups known as adware? There may be reason. You can manually remove adware components one by one, but there is a good chance you would miss some ...

Most Recent Computers Supplements

Interesting Today:

Most Recent Computers Blogs:

Releated to Computers:

Computers Links:

Computers Computers Rss feeds.