main1234
V2EX  ›  问与答

DNS 解析出多个 IP,如果某个 IP 无效,客户端会发生什么

  •  
  •   main1234 · Jun 5, 2024 · 1571 views
    This topic created in 910 days ago, the information mentioned may be changed or developed.

    DNS 解析出多个 IP ,如果某个 IP 无效,客户端会发生什么??

    2 replies  •  2024-06-05 14:21:56 +08:00
    wy315700
    wy315700
    Jun 5, 2024
    1
    看你客户端怎么写的
    有的客户端会挨个尝试连接
    有的客户端会同时发起 syn 请求,然后接受第一个到达的 ack ,丢弃其他请求。
    xxxccc
    xxxccc
    Jun 5, 2024
    2
    这个问题我之前遇见过,像 java 这种默认只会使用第一个 ip 。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1813 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:58 · PVG 23:58 · LAX 07:58 · JFK 10:58
    ♥ Do have faith in what you're doing.