缓慢的“未知主机”;路由器对联网 MAC 的响应? (突然!)

发布于 2024-09-02 09:07:17 字数 538 浏览 3 评论 0原文

我的单元测试套件中的一些 IOError 响应测试突然开始失败。几个月来每天都通过几次,直到今天才开始失败 - 他们的时间只有 2 秒。追查这个问题,我发现 IOError 的产生需要超过 30 秒的时间。

我们通过无线路由器 (Wire2) 访问网络(BT 宽带 DSL)。

发现以下情况:

从 mac 到无意义主机的 Traceroute 需要 30 秒以上才能响应“未知主机”。 (在 3 台机器上确认 - 所有 Mac 都运行 10.6.2 或 10.6.3)

直接从路由器的 Web 实用程序(到无意义主机)进行的 Traceroute 将在不到一秒的时间内返回“未知主机”。

重新启动——包括家里所有东西都停工 10 分钟——并没有带来什么影响。

  • 该问题是在过去 24 小时内才开始出现的。
  • 实时服务器 ping 正常。
  • 网页浏览等正常。

该问题仅在查找不存在的主机时才会发生。

有人知道为什么“未知主机”与网络的通信还需要 30 秒吗?

谢谢

Some IOError response tests in my unit test suite suddenly started failing. Have passed several times daily for months, only started failing today - they had a time out of 2 seconds. Chasing this up I found that it was taking over 30 seconds for the IOError to be produced.

We're accessing the web (BT broadband DSL) via a wireless router (Wire2).

Have found out the following:

Traceroute from mac to a nonsense host takes over 30 seconds to respond with 'unknown host'.
(Confirmed on 3 machines - All macs running 10.6.2 or 10.6.3)

Traceroute direct from the router's web utility (to nonsense host) returns 'unknown host' in less than a second.

Reboots - including 10 minutes of downtime for everything in the household - have made no difference.

  • The problem only started in the last 24 hours.
  • Pinging of live servers is normal.
  • Web browsing etc is normal.

The problem is specifically only occurring when a host that doesn't exist is looked up.

Anyone got any clues as to why the communication of 'unknown host' out to the network would take a further 30 seconds?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

欢烬 2024-09-09 09:07:17

天才朋友建议我将网络设置中的 DNS 服务器设置更改为 ISP 提供的一些替代设置。

很有魅力。

Genius friend suggested I change the DNS Server settings in Network settings to some alternative ones provided by my ISP.

Works a charm.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文