Comments (4)
smartDNS 会尝试根据本地线路来 主动探测 多个上游 DNS 针对某个 Domain 反馈的结果,以期获得最优的 DNS 解析。
from smartdns.
-s 开启这个功能,貌似域名 TTL 结束后,每次查询都会从上游查而不是从 Cache 中直接读:
DEBU[2019-12-31 03:32:21] Answer from ISP_DNSM: punkoffice.duckdns.org. 600 IN A 116.23.154.48
DEBU[2019-12-31 03:32:21] Answer from ISP_DNSS: punkoffice.duckdns.org. 600 IN A 116.23.154.48
Error listening for ICMP packets: socket: protocol not supported
INFO[2019-12-31 03:32:21] &{0 0 NaN 116.23.154.48 116.23.154.48 [] 0s 0s 0s 0s}
WARN[2019-12-31 03:32:21] fastMap is nil!
DEBU[2019-12-31 03:32:22] Answer from GoogleS: punkoffice.duckdns.org. 59 IN A 116.23.154.48
DEBU[2019-12-31 03:32:23] Question from 127.0.0.1: ;www.twitter.com. IN A
DEBU[2019-12-31 03:32:23] Cache hit: www.twitter.com.
DEBU[2019-12-31 03:32:25] Question from 127.0.0.1: ;www.twitter.com. IN A
DEBU[2019-12-31 03:32:25] Cache hit: www.twitter.com.
INFO[2019-12-31 03:32:28] [punkoffice.duckdns.org. 59 IN A 116.23.154.48]
INFO[2019-12-31 03:32:28] Now timer task: 4
INFO[2019-12-31 03:32:28] punkoffice.duckdns.org. 59 IN A 116.23.154.48
DEBU[2019-12-31 03:32:28] Answer from ISP_DNSM: punkoffice.duckdns.org. 30 IN A 116.23.154.48
DEBU[2019-12-31 03:32:28] Answer from ISP_DNSS: punkoffice.duckdns.org. 600 IN A 116.23.154.48
Error listening for ICMP packets: socket: protocol not supported
INFO[2019-12-31 03:32:28] &{0 0 NaN 116.23.154.48 116.23.154.48 [] 0s 0s 0s 0s}
WARN[2019-12-31 03:32:28] fastMap is nil!
from smartdns.
很抱歉,这的确是一个已知的错误。
因为之前一段时间非常忙,所以当时这个功能只是完成一部分。
此外由于 准确地进行 “主动探测” 的方式我还没特别有想法,所以也导致了进度比较慢,在最近一个月内我会尝试改进这块,也请到时候关注。
如果有兴趣参与维护,也欢迎不吝提交 pr,感谢。
from smartdns.
@Vikec @rampageX ,感谢关注 smartDNS。
此外,我在这里 简要阐述了想要实现的智能学习,可以参考。
from smartdns.
Related Issues (10)
- 这种 README 里的 gopher 的图片是怎么做的啊
- 这样设置会6个DNS都同时查询吗? HOT 3
- smartDNS 无法感知 网络发生变化
- smartDNS 数据持久化
- smartDNS好像不支持119.29.29.29?显示请求失败,而overture可以 HOT 1
- Good project, I hope to maintain it, thank you. HOT 18
- icmp 错误 HOT 1
- Feature request: Redis cache support
- Feature request: ability to set TTL for negative DNS replies (empty result or NXDOMAIN) in a separate way
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartdns.