From: Joshua Slive <slive@apache.org> Date: Wed, 1 Aug 2007 17:52:15 +0000 (+0000) Subject: Fix DNS load balancing example. X-Git-Tag: 2.3.0~1661 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03ad1c61f8ba14f0bd80c33df4d70d6f4e4f390d;p=apache Fix DNS load balancing example. Submitted by: Takashi Sato <serai lans-tv.com> PR: 23501 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@561887 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/misc/rewriteguide.html.en b/docs/manual/misc/rewriteguide.html.en index 98389dc27b..7579603536 100644 --- a/docs/manual/misc/rewriteguide.html.en +++ b/docs/manual/misc/rewriteguide.html.en @@ -1262,19 +1262,15 @@ www5 IN A 1.2.3.6 <p>Then you additionally add the following entry:</p> <div class="example"><pre> -www IN CNAME www0.foo.com. - IN CNAME www1.foo.com. - IN CNAME www2.foo.com. - IN CNAME www3.foo.com. - IN CNAME www4.foo.com. - IN CNAME www5.foo.com. - IN CNAME www6.foo.com. -</pre></div> - - <p>Notice that this seems wrong, but is actually an - intended feature of <code>BIND</code> and can be used - in this way. However, now when <code>www.foo.com</code> gets - resolved, <code>BIND</code> gives out <code>www0-www6</code> +www IN A 1.2.3.1 +www IN A 1.2.3.2 +www IN A 1.2.3.3 +www IN A 1.2.3.4 +www IN A 1.2.3.5 +</pre></div> + + <p>Now when <code>www.foo.com</code> gets + resolved, <code>BIND</code> gives out <code>www0-www5</code> - but in a slightly permutated/rotated order every time. This way the clients are spread over the various servers. But notice that this not a perfect load diff --git a/docs/manual/misc/rewriteguide.xml b/docs/manual/misc/rewriteguide.xml index a47f1c2b7e..1d15ac231a 100644 --- a/docs/manual/misc/rewriteguide.xml +++ b/docs/manual/misc/rewriteguide.xml @@ -1263,19 +1263,15 @@ www5 IN A 1.2.3.6 <p>Then you additionally add the following entry:</p> <example><pre> -www IN CNAME www0.foo.com. - IN CNAME www1.foo.com. - IN CNAME www2.foo.com. - IN CNAME www3.foo.com. - IN CNAME www4.foo.com. - IN CNAME www5.foo.com. - IN CNAME www6.foo.com. -</pre></example> - - <p>Notice that this seems wrong, but is actually an - intended feature of <code>BIND</code> and can be used - in this way. However, now when <code>www.foo.com</code> gets - resolved, <code>BIND</code> gives out <code>www0-www6</code> +www IN A 1.2.3.1 +www IN A 1.2.3.2 +www IN A 1.2.3.3 +www IN A 1.2.3.4 +www IN A 1.2.3.5 +</pre></example> + + <p>Now when <code>www.foo.com</code> gets + resolved, <code>BIND</code> gives out <code>www0-www5</code> - but in a slightly permutated/rotated order every time. This way the clients are spread over the various servers. But notice that this not a perfect load diff --git a/docs/manual/rewrite/rewrite_guide_advanced.html.en b/docs/manual/rewrite/rewrite_guide_advanced.html.en index 3426d0affb..88d511cfe0 100644 --- a/docs/manual/rewrite/rewrite_guide_advanced.html.en +++ b/docs/manual/rewrite/rewrite_guide_advanced.html.en @@ -619,19 +619,15 @@ www5 IN A 1.2.3.6 <p>Then you additionally add the following entry:</p> <div class="example"><pre> -www IN CNAME www0.foo.com. - IN CNAME www1.foo.com. - IN CNAME www2.foo.com. - IN CNAME www3.foo.com. - IN CNAME www4.foo.com. - IN CNAME www5.foo.com. - IN CNAME www6.foo.com. +www IN A 1.2.3.1 +www IN A 1.2.3.2 +www IN A 1.2.3.3 +www IN A 1.2.3.4 +www IN A 1.2.3.5 </pre></div> - <p>Notice that this seems wrong, but is actually an - intended feature of <code>BIND</code> and can be used - in this way. However, now when <code>www.foo.com</code> gets - resolved, <code>BIND</code> gives out <code>www0-www6</code> + <p>Now when <code>www.foo.com</code> gets + resolved, <code>BIND</code> gives out <code>www0-www5</code> - but in a slightly permutated/rotated order every time. This way the clients are spread over the various servers. But notice that this not a perfect load diff --git a/docs/manual/rewrite/rewrite_guide_advanced.xml b/docs/manual/rewrite/rewrite_guide_advanced.xml index d7c849493e..601c03170c 100644 --- a/docs/manual/rewrite/rewrite_guide_advanced.xml +++ b/docs/manual/rewrite/rewrite_guide_advanced.xml @@ -623,19 +623,15 @@ www5 IN A 1.2.3.6 <p>Then you additionally add the following entry:</p> <example><pre> -www IN CNAME www0.foo.com. - IN CNAME www1.foo.com. - IN CNAME www2.foo.com. - IN CNAME www3.foo.com. - IN CNAME www4.foo.com. - IN CNAME www5.foo.com. - IN CNAME www6.foo.com. +www IN A 1.2.3.1 +www IN A 1.2.3.2 +www IN A 1.2.3.3 +www IN A 1.2.3.4 +www IN A 1.2.3.5 </pre></example> - <p>Notice that this seems wrong, but is actually an - intended feature of <code>BIND</code> and can be used - in this way. However, now when <code>www.foo.com</code> gets - resolved, <code>BIND</code> gives out <code>www0-www6</code> + <p>Now when <code>www.foo.com</code> gets + resolved, <code>BIND</code> gives out <code>www0-www5</code> - but in a slightly permutated/rotated order every time. This way the clients are spread over the various servers. But notice that this not a perfect load