Coder Social home page Coder Social logo

[BUG]forward 插件中args添加 fastest_ip 属性并设置为true后程序错误,设置为false后程序正常运行。 about mosdns HOT 4 CLOSED

irinesistiana avatar irinesistiana commented on May 24, 2024
[BUG]forward 插件中args添加 fastest_ip 属性并设置为true后程序错误,设置为false后程序正常运行。

from mosdns.

Comments (4)

IrineSistiana avatar IrineSistiana commented on May 24, 2024

看不出问题,猜是服务器超时了。

影响正常使用了么?是每次请求必定报错,还是概率出现?

from mosdns.

CooperChen453 avatar CooperChen453 commented on May 24, 2024

看不出问题,猜是服务器超时了。

fastest_ip设置为true时,影响正常使用,无法解析任何网站。应该是每次请求必定报错(暂时没有碰到过成功的情况)。

from mosdns.

IrineSistiana avatar IrineSistiana commented on May 24, 2024

@CooperChen453 确实有问题。貌似是因为 101.7.8.9:53 不能用?

不过 fastip = true 导致多个上游只要一个超时就全超时,目测也是 dnsproxy 的 bug。

from mosdns.

IrineSistiana avatar IrineSistiana commented on May 24, 2024

目测也是 dnsproxy 的 bug。

翻源码发现不是 bug,就是这样设计的。要等到全部上游应答就绪才开始 ping。一个上游超时就全超时了。

我这里 101.7.8.9:53 不可用。

from mosdns.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.