Round Robin DNS

Round robin DNS is a technique in which load balancing is performed by a DNS server instead of a strictly dedicated machine. A DNS record has more than one value IP address.

When a request is made to the DNS server which serves this record, the answer it gives alternates for each request. For instance, if you had a three webserver that you wished to distribute requests between, you could setup your DNS zone as follows:

# vi /var/named/domain.com.db

Append/modfiy www entry:

www   IN   A   1.2.3.4
IN   A   2.3.4.5

IN   A   3.4.5.6
IN   A   4.5.6.7

# /etc/init.d/named restart
When a query is made to the DNS server it will first give the IP of 1.2.3.4 for the www host. The next time a request is made for the IP of www, it will serve 2.3.4.5 and so on.

10 thoughts on “Round Robin DNS

  1. Alan says:

    But in this case , if the website is an interactive one ( login ) then there should be again synchronisations b/w the 3 websites too right ? How will you achienve that ? Simply scp ?

    Like

  2. coconut oil uses says:

    is based on technology that William Wolcott collected and
    developed. Finasteride (Propecia, Proscar) – a prescription pill
    that inhibits the production of male hormone dihydrotestosterone.
    It commenced off when you obtained a chilly and went to your
    health care provider.

    Like

  3. turmeric says:

    Turmeric benefits the quick healing of wounds and any other body pain.
    Weight Control: Capsaicin speeds up metabolism which helps the body to burn more calories faster.
    And remember to consult your physician if you have cancer and want to make some changes.

    Like

  4. palm oil says:

    To these people who attributed the whiteness and
    brightness of their clothes to the wonders of modern technology it came as a shock
    to find that the locals were achieving equal or better results using traditional bar soap and hand washing.
    This is a certificate trading program designed to
    tackle the environmental and social problems created by the production of palm oil, kind of like Carbon Credits
    help reduce carbon damage on the planet. This book is all about
    palm oil, a seemingly “miracle” vegetable oil that has been used for thousands of years,
    and is currently being used around the world.

    Like

  5. natural oils says:

    Avocado Oil – This natural oil can successfully hydrates and is also compatible with the skin’s own oils. And if you use it in combination with other ways to reduce frizz, you can greatly reduce the appearance of frizzy hair altogether. Another very effective natural way to tighten face skin is through facial exercises.

    Like

  6. MitoSlim Reviews says:

    Hey would you mind stating which blog platform you’re using?

    I’m planning to start my own blog in the near future but I’m having a
    hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique.

    P.S My apologies for being off-topic but I had to ask!

    Like

  7. ваху says:

    I just couldn’t depart your website before suggesting that
    I extremely loved the standard info a person provide to your visitors?
    Is gonna be again frequently to check out new
    posts

    Like

Leave a comment