Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 17:24:11 +0000
From:      Charles Trevor <ct.lists@qgsltd.co.uk>
To:        freebsd <freebsd@gorlani.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Load balancing outgoing mail relay
Message-ID:  <45AE5BBB.6060805@qgsltd.co.uk>
In-Reply-To: <000601c73a43$8683c170$6601880a@Enigma>
References:  <000601c73a43$8683c170$6601880a@Enigma>

next in thread | previous in thread | raw e-mail | index | archive | help
freebsd wrote:
>> This (multiple A records) works for me, at least approximately. Both
>> Bind and MS DNS will round robin when multiple A records exist for the
>> same hostname. What is your setup?
> 
> FreeBSD 6.2 with Sendmail (initially) and now postfix.
> MS DNS with round robin (and TTL set to 0 on the records).
> Resolving with nslookup gives something like:
> smarthost.domain.tld
> 192.168.0.1, 192.168.0.2, 192.168.0.3
> 
> If I kill 192.168.0.1 then it goes on the second one. But this is 
> failover, and I need (approximately) load balancing.
> I understand this is related to the MTA and not to the OS, but hopefully 
> someone solved this problem using Sendmail or Postifx that are both used 
> on FreeBSD.
> Thanks
> 

What happens if you do multiple dig/nslookups for smarthost.domain.tld. 
Are the records returned in a different order each time? If not the 
problem may be at the NS.

Charlie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45AE5BBB.6060805>