sparkssssssss
V2EX  ›  Docker

请教一个 docker 的 dns 问题

  •  
  •   sparkssssssss · Nov 3, 2023 · 884 views
    This topic created in 966 days ago, the information mentioned may be changed or developed.
    宿主 192.168.1.11,容器上跑的服务暴露端口 8080,host 模式
    发现在 curl 192.168.1.11:8080 很慢,
    抓包发现 当访问这个地址的时候,会去 dns 上查询反解, 当然是查不到的,所以,超时后返回,导致响应很慢
    没有查到资料,请教一下,为什么会有这个情况呢?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4585 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 09:53 · PVG 17:53 · LAX 02:53 · JFK 05:53
    ♥ Do have faith in what you're doing.