TimothyYe / godns

A dynamic DNS client tool that supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
https://timothyye.github.io/godns/
Apache License 2.0
1.5k stars 221 forks source link

超时问题 #122

Closed LiCijun closed 2 years ago

LiCijun commented 2 years ago

更新IP的时候,如果遇到网络不通,将需要十多分钟,才会超时错误退出,导致下次更新的时候,相差时间过大。

TimothyYe commented 2 years ago

有没有对应的日志,我参考一下

LiCijun commented 2 years ago

godns Duplicate of #

LiCijun commented 2 years ago

测试出现此问题 可以将防火墙设为DROP

TimothyYe commented 2 years ago

知道为啥了,因为默认超时的时间很长,我会加一个默认的超时时间

LiCijun commented 2 years ago

临时采用了 PPPOE拨号成功后 重启godns 暂时先解决了这个问题

TimothyYe commented 2 years ago

改动在这里 https://github.com/TimothyYe/godns/commit/dc0c1bf6f5662d3d38dcacc9138c27659b931e9d