Channels ▼
RSS

Load Balancing Your Web Site (Web Techniques, May 1998)



1   ;;
2   ;;  db.foo.rr -- BIND DNS zone file for the rr.foo.dom domain
3   ;;
4
5   ;;
6   ;;  the start of authority (SOA) resource record which
7   ;;  forces a minimal time-to-live (TTL) for this zone file
8   ;;
9   @  IN  SOA world.foo.dom.  root.world.foo.dom. (
10             1998021501 ; SERIAL
11             3600       ; REFRESH: Secondaries refresh after 1 hour
12             600        ; RETRY:   Secondaries retry after 10 minutes
13             3600       ; EXPIRE:  Maximum TTL of Data is 1 hour
14             1800       ; MINTTL:  Minimum TTL of Data is 30 minutes
15                       )
16
17           IN  NS      world.foo.dom.
18
19   ;;
20   ;;  the multiple canonical name (CNAME) resource record
21   ;;  which implies BIND's Round-Robin (RR) feature
22   ;;
23   www     IN  CNAME   www1.rr.foo.dom.
24           IN  CNAME   www2.rr.foo.dom.
25           IN  CNAME   www3.rr.foo.dom.
26           IN  CNAME   www4.rr.foo.dom.
27           IN  CNAME   www5.rr.foo.dom.
28           IN  CNAME   www6.rr.foo.dom.
29
30   ;;
31   ;;  the address (A) resource records for the
32   ;;  final NAME -> IP mapping
33   ;;
34   www1    IN  A       192.168.1.1
35   www2    IN  A       192.168.1.2
36   www3    IN  A       192.168.1.3
37   www4    IN  A       192.168.1.4
38   www5    IN  A       192.168.1.5
39   www6    IN  A       192.168.1.6



Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
 

Video