From owner-freebsd-isp Sat Sep 15 1: 1:17 2001 Delivered-To: freebsd-isp@freebsd.org Received: from web20101.mail.yahoo.com (web20101.mail.yahoo.com [216.136.226.38]) by hub.freebsd.org (Postfix) with SMTP id 2626137B414 for ; Sat, 15 Sep 2001 01:01:14 -0700 (PDT) Message-ID: <20010915080113.985.qmail@web20101.mail.yahoo.com> Received: from [62.11.57.173] by web20101.mail.yahoo.com via HTTP; Sat, 15 Sep 2001 10:01:13 CEST Date: Sat, 15 Sep 2001 10:01:13 +0200 (CEST) From: =?iso-8859-1?q?Fabrizio=20Ravazzini?= Subject: Mail Server - Round Robin Load Distribution To: freebsd-isp@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello all,I'm doing a Mail server using two machines which shares the same disk array via NFS where there are the users maildirs (Q-mail,vchkpw,courier-Imap,sqwebmail). I want to make this cluster using DNS-RoundRobin. Reading the book DNS&BIND (O'Reilly) page 274, if I insert two A-Records with two CNAME I can make the round Robin, but this for ftp,http or whatever server,but I think NOT Mail Servers. Reading at the beginning of the book,instead, in the MX record section I understood that multiples CNAME for Mail servers are invalid, so I can only put two MX-record for two machines serving the same domain, but in this way only the first of the two MX serves the requests and when it goes down the other takes care of the service. So,the question is, can I still have load distribution with a mail server? Suppose that the service domain is mail.com, so you can send mail for example to john@mail.com and the two machine of the cluster are: one.mail.com ( Ip: A.B.C.D ) two.mail.com ( Ip: X.Y.Z.K ) Can I insert in DNS this following records?: one.mail.com 60 IN A A.B.C.D two.mail.com 60 IN A X.Y.Z.K mail.com 60 IN CNAME one.mail.com mail.com 60 IN CNAME two.mail.com or have I to insert these?: one.mail.com 60 IN A A.B.C.D two.mail.com 60 IN A X.Y.Z.K mail.com IN MX one.mail.com mail.com IN MX two.mail.com In the second case I don't have any Load Distribution, all the traffic goes to the "one.mail.com" till it goes down and that's not what I want. Can someone help mein this dilemma? or tell me how to do this type of load distribution? Many thanks ______________________________________________________________________ Do You Yahoo!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message