sparkssssssss
V2EX  ›  Docker

请教一个 docker 的 dns 问题

  •  
  •   sparkssssssss · Nov 3, 2023 · 1137 views
    This topic created in 1073 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   ·   Privacy   ·   Solana   ·   2844 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 10:45 · PVG 18:45 · LAX 03:45 · JFK 06:45
    ♥ Do have faith in what you're doing.