• How to select the most fast host from the list for a FQDN?

    From Hongyi Zhao@110:110/2002 to All on Sat Nov 2 07:11:10 2013
    Hi all,

    If a FQDN is mapped to many host addresses, how to select the most fast
    host, especically, use a script for this job?

    Regards
    --
    ..: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: NPO RUSnet InterNetNews site (110:110/2002@linuxnet)
  • From Joe Beanfish@110:110/2002 to All on Mon Nov 4 14:18:04 2013
    On Sat, 02 Nov 2013 07:11:10 +0000, Hongyi Zhao wrote:

    Hi all,

    If a FQDN is mapped to many host addresses, how to select the most fast host, especically, use a script for this job?

    Regards

    You can't know unless you use them and time them all. And it's likely to
    change the next time you look. Don't do it. The purpose of the multiple
    IPs is to randomly distribute the load of many users across all the servers. Just take the first IP or a random one. If you get no answer in a reasonable time you could try another. But don't expect that IP to be consistent.

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From Hongyi Zhao@110:110/2002 to All on Tue Nov 5 07:50:50 2013
    On Mon, 04 Nov 2013 14:18:04 +0000, Joe Beanfish wrote:

    You can't know unless you use them and time them all. And it's likely to change the next time you look. Don't do it. The purpose of the multiple
    IPs is to randomly distribute the load of many users across all the
    servers.
    Just take the first IP or a random one. If you get no answer in a
    reasonable time you could try another. But don't expect that IP to be consistent.

    Thanks lot for your hints.
    Regards

    --
    ..: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: NPO RUSnet InterNetNews site (110:110/2002@linuxnet)