From owner-freebsd-isp Thu Aug 12 0: 4: 1 1999 Delivered-To: freebsd-isp@freebsd.org Received: from main.piter.net (main.piter.net [195.201.22.10]) by hub.freebsd.org (Postfix) with ESMTP id 7705714E69 for ; Thu, 12 Aug 1999 00:03:55 -0700 (PDT) (envelope-from cyril@main.piter.net) Received: (from cyril@localhost) by main.piter.net (8.9.3/8.5.2/sply) id LAA23176; Thu, 12 Aug 1999 11:04:30 +0400 (MSD) Date: Thu, 12 Aug 1999 11:04:30 +0400 (MSD) From: "Cyril A. Vechera" Message-Id: <199908120704.LAA23176@main.piter.net> To: barrett@phoenix.aye.net, stuart@eclipse.net.uk Subject: Re: Loadbalance webservers Cc: cshenton@uucom.com, cygone@zoomnet.net, freebsd-isp@FreeBSD.ORG, shovey@buffnet.net Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > 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. > > > > I think Netscape used to do this in software (at least I always used > > to get the IP address of their UK mirror returned) but they seem not to > > be doing that now. > > > > Stuart > > > > Could be an artifact of normal BIND behaviour. When a nameserver > queries for something in somedomain.com it is given a list of > randomly ordered NS records to try for a zone. The RTT to each > of the nameservers is measured and queries are sent to the server > that replies the quickest. The tracking of RTTs is done continually > to account for any significant changes in the routes between the > server that is asking and the server that is answering. Yes. IMO, the most simple and most usefull way is to split DNS for every WWW/etc server, for example, if we have three machines in different networks, they could be configured by this scheme Network 1, WWW1 has ip-addres x.x.x.x Network 2, WWW2 has ip-addres y.y.y.y Network 3, WWW3 has ip-addres z.z.z.z And there are three DNS-servers, and DNS1 placed near WWW1, DNS2 - near WWW2 etc. all DNS-server must disable round-robin feature, and each one must have first A record for closest WWW-server, i.e. DNS1 www.your-domain.com A x.x.x.x www.your-domain.com A y.y.y.y www.your-domain.com A z.z.z.z DNS2 www.your-domain.com A y.y.y.y www.your-domain.com A z.z.z.z www.your-domain.com A x.x.x.x DNS3 www.your-domain.com A z.z.z.z www.your-domain.com A x.x.x.x www.your-domain.com A y.y.y.y Sincerely your, Cyril A. Vechera email:cyril@piter.net --------- http://sply.piter.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message