Advanced Round Robin Implementation

Cricket Liu cricket at acmebw.com
Tue Sep 21 19:24:26 UTC 1999


Barry Margolin <barmar at bbnplanet.com> wrote in message
news:<ODPF3.7$854.457 at burlma1-snr2>...
> In article <7s7kre$21f$1 at nnrp1.deja.com>,
> Laurent Verhoest  <lolofarwest at my-deja.com> wrote:
> >not exactly, you can improve this : you can 'trick' DNS by setting low
> >TTL values for those particular records :
> >
> >www 1 IN x.y.z.w
> >www 1 IN x.y.z.w2
> >
> >This way, clients will get this first IP *almost* always in the first
> >place.
>
> Why?  Round robin means that the server will alternate the order of the
> records, so half the time it will return
>
> www 1 IN x.y.z.w2
> www 1 IN x.y.z.w

Barry's right about this.  However, with BIND 8.2.1, you can also use the
rrset-order substatement to instruct your name server to return www's
addresses in a fixed order.  See
http://www.isc.org/view.cgi?/products/BIND/docs/config/options.phtml.

cricket

Acme Byte & Wire
cricket at acmebw.com
www.acmebw.com

Attend our next DNS and BIND class!  See
www.acmebw.com/training.htm for the
schedule and to register for upcoming
classes.



More information about the bind-users mailing list