From owner-freebsd-isp Wed Aug 11 6:48:46 1999 Delivered-To: freebsd-isp@freebsd.org Received: from Samizdat.uucom.com (samizdat.uucom.com [198.202.217.54]) by hub.freebsd.org (Postfix) with ESMTP id 442FE14D33 for ; Wed, 11 Aug 1999 06:48:39 -0700 (PDT) (envelope-from cshenton@uucom.com) Received: (from cshenton@localhost) by Samizdat.uucom.com (8.9.3/8.9.3) id JAA15710; Wed, 11 Aug 1999 09:48:39 -0400 (EDT) To: Barrett Richardson Cc: Steve Hovey , Mitch Vincent , freebsd-isp@FreeBSD.ORG Subject: Re: Loadbalance webservers References: User-Agent: SEMI/1.13.3 (Komaiko) FLIM/1.12.5 (Hirahata) Emacs/20.3 (i386-pc-solaris2.7) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko") Content-Type: text/plain; charset=US-ASCII From: Chris Shenton Date: 11 Aug 1999 09:48:39 -0400 In-Reply-To: Barrett Richardson's message of "Tue, 3 Aug 1999 09:57:31 -0400 (EDT)" Message-ID: Lines: 30 X-Mailer: Gnus v5.6.45/Emacs 20.3 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Barrett wrote: You can just have multiple address records www IN A x.x.x.3 IN A x.x.x.4 . . . IN A x.x.x.n Found some solid info on ISC's BIND documentation about trying to do load balancing with DNS. The "SRV" record is designed for this but I haven't found software that uses it (tho BIND8 implements it). So the multiple records are a bit of a hack and will hose you if one of the servers dies. There's a pointer to "lbnamed" from Stanford which looks worth trying. It puts a little load-monitor daemon on each server which the balancing named queries; presumably it hands out records for the least-loaded server and won't hand out records for servers that don't respond. It would be way cool to modify the server-based daemon to have it determine the network distance/cost to the *client* then feed that to the lbnamed so it could return a record corresponding to the server fastest/closest to the actual client. This would implement WAN load balancing much like F5 Lab's $27K (each) 3DNS. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message