[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: gethostby* users



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simo Sorce wrote:
> Ulrich, some people claim that glibc's getaddrinfo breaks IPv4 DNS round
> robin as it reorders also IPv4 address, can you comment on this? In some
> cases it is important.

It is not necessary (and quite wrong) to implement RR in the server.
It's an approximation at best anyway.  In no way better than
randomization.  And nothing stops programs from randomizing the results
returned by getaddrinfo before using them.  Normal programs won't do
that but there is nothing which stops programs like ntpd from doing this.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHEO7p2ijCOnn/RHQRAmz7AJ9LjfmhMIEBpkQ/C3stOJ+qCnVfyQCdEjDe
07WL2BrQeuop3VkIB5hIUaw=
=PqK2
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]