Round Robin DNS

28 08 2009

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.
About these ads

Actions

Information

4 responses

27 11 2009
Alan

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 ?

22 04 2013
coconut oil uses

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.

26 04 2013
turmeric

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.

28 04 2013
palm oil

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.

%d bloggers like this: