Comments (4)
我看这行
2021-02-07T10:19:28.951+0800 debug main_server utils/executable_sequence.go:47 exec executable plugin {"query": "w1.my.iot. 1 1 37521 2", "exec": "check_in_hosts"}
2021-02-07T10:19:28.951+0800 debug main_server utils/server_handler.go:85 entry returned {"query": "w1.my.iot. 1 1 37521 2", "status": "responded"}
w1.my.iot 应该正常被 hosts 处理了。
dig 之类的请求请求不到 w1.my.iot 么?
from mosdns.
我看这行
2021-02-07T10:19:28.951+0800 debug main_server utils/executable_sequence.go:47 exec executable plugin {"query": "w1.my.iot. 1 1 37521 2", "exec": "check_in_hosts"} 2021-02-07T10:19:28.951+0800 debug main_server utils/server_handler.go:85 entry returned {"query": "w1.my.iot. 1 1 37521 2", "status": "responded"}
w1.my.iot 应该正常被 hosts 处理了。
dig 之类的请求请求不到 w1.my.iot 么?
之前是用ping w1.my.iot 测试的, debug log里确实发现hosts插件也正确处理了,但是又执行了main_sequence插件;
刚刚用dig测试居然都是正常的,dig w1.my.iot ,hosts插件就成功返回了,没有执行main_sequence插件, 这个问题有点奇怪;
不过如果dig是正常的,mosdns应该没问题, 那么可能是ping的一些行为导致的, 我再多测试几次看看,如果没问题我就close issue了, 感谢!
from mosdns.
debug log里确实发现hosts插件也正确处理了,但是又执行了main_sequence插件
你是说之后的日志么?
那些不是 w1.my.iot
的请求 ,是 253.254.168.192.in-addr.arpa.
是别的软件的。
from mosdns.
抱歉,确实log没有看仔细, 应该是每次用ping测, ping又连续的执行了253.254.168.192.in-addr.arpa的query.
2021-02-07T10:54:24.113+0800 debug main_server utils/server_handler.go:85 entry returned {"query": "w1.my.iot. 1 1 49719 6", "status": "responded"}
2021-02-07T10:54:24.195+0800 debug main_server server/udp.go:86 new query {"query": "253.254.168.192.in-addr.arpa. 12 1 28375 7", "from": "127.0.0.1:36449"}
2021-02-07T10:54:24.196+0800 debug main_server utils/executable_sequence.go:47 exec executable plugin {"query": "253.254.168.192.in-addr.arpa. 12 1 28375 7", "exec": "_default_cache"}
2021-02-07T10:54:24.196+0800 debug main_server utils/executable_sequence.go:47 exec executable plugin {"query": "253.254.168.192.in-addr.arpa. 12 1 28375 7", "exec": "check_in_hosts"}
2021-02-07T10:54:24.196+0800 debug main_server utils/executable_sequence.go:47 exec executable plugin {"query": "253.254.168.192.in-addr.arpa. 12 1 28375 7", "exec": "main_sequence"}
from mosdns.
Related Issues (20)
- [Bug] AAAA QTYPE 大量出现 context deadline exceeded HOT 2
- [Bug] 当其他DNS服务器的解析请求转发到mosdns上之后,无法得到解析回复 HOT 1
- DNS解锁失效
- [Feature request] 希望增加 ipset 删除功能 HOT 1
- [Bug] IPv6 DNS Server [2620:fe::fe] 识别问题 HOT 2
- [Feature request] 希望fallback插件内標記的mark可以帶回上級sequence
- [Bug] 配置文件为 wiki 中的简单转发器配置文件,mosdns 无法正常工作 HOT 2
- [Feature request] 提供将lazy_cache写入内存的选项 HOT 4
- [Feature request] prefer plugin support for HTTPS record HOT 1
- [Bug] client_ip匹配ipv6 cidr未按预期工作 HOT 2
- [Feature request] 丢弃resp_ip中指定的IP
- [Feature request] 并行请求时直接返回最快返回的应答 HOT 1
- [Feature request] 关于 forward 和 hosts 插件的功能建议! HOT 4
- 用sequence模拟fallback,出现context deadline exceeded时程序会中断。 HOT 4
- [Bug] has invalid keys: data_providers, servers HOT 1
- [Feature request] 可以支持直接读取xray的geosite.dat文件么 HOT 3
- [Bug] prefer_ipv4 是否有bug,影响到了纯 ipv6 解析 HOT 1
- [Feature request] 使用 CNANE 的 hosts 作为结果
- 为什么我的运行就报错 has invalid keys
- mosdns转发至adguardhome在adguard中如何获取源IP,目前仅显示mosdns IP
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 mosdns.