Solaris gethostbyname and roun robining

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Tue Jul 13 11:19:09 UTC 2004


Richard Hopkins <Richard.Hopkins at bristol.ac.uk> wrote:


> --On Tuesday, July 13, 2004 9:45 AM +0000 phn at icke-reklam.ipsec.nu wrote:

>> Richard Hopkins <Richard.Hopkins at bristol.ac.uk> wrote:
>>
>>> Hi all,
>>
>>>   The Solaris man page for gethostbyname includes...
>>
>>> "The system will strive to put the addresses on the same sub-net as that
>>> of  the caller first."
>>
>>> This means that round robining doesn't strictly work as you might expect
>>> (or want). Does anyone know if there's a way to get Solaris not to
>>> prefer  addresses on the same subnet, but to treat all as equal?
>>
>> Link your apps with bind-resolver ( 8 or 9  picked up from isc.org)
>>

> Thanks for the suggestion. The problem is that I'm not able to do this (the 
> apps are Sun supplied binaries).

They most likley use the shared library libc, you might create a shared library
of the bind resolver and have that one loaded first ( no i cannot help you with
solaris, sorry).

> Cheers,

> Richard


-- 
Peter Håkanson         
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
	   remove "icke-reklam" if you feel for mailing me. Thanx.


More information about the bind-users mailing list