Re: gethostby* users

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

 



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

Simo Sorce wrote:
> Now if you reorder these addresses what happen is that the main site A
> clients will always try to contact the branch office servers instead, as
> they have 'site-local' ones.

Why would we reorder?  This is not a given.  First, if the local network
addresses have a longer matching prefix it is automatically preferred.
Second, even if somebody is in the situation where somebody bad a bad
decision that this is not the case (e.g., always remember a machine can
have more than one IP address) you can overwrite the default preferences
getaddrinfo uses for sorting using /etc/gai.conf.

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

iD8DBQFHEkoj2ijCOnn/RHQRArTbAJ0RKAKykT5dvBOwZXXtP7xkV+69HQCgt1bd
yHN+OB2pGt1+8mZ3puyKJQk=
=euZA
-----END PGP SIGNATURE-----

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux