-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ecs+doh解析超时 error: dns: bad rdata #6
Comments
这似乎是 DNSPOD 端的问题,更换为 GoogleDNS 配置: log:
level: debug
upstreams:
- tag: DNSPOD
type: https
address: 223.5.5.5
plugin-executors:
- tag: ecs
type: ecs
args:
ipv4: 115.192.128.0
ipv6: 240e:390:602:5a90::0
mask4: 24
mask6: 60
workflows:
- tag: main
rules:
- exec:
- plugin:
tag: ecs
- upstream: DNSPOD
- return
listeners:
- tag: listener-udp
type: udp
listen: '[::]:5353'
workflow: main dig 结果:
日志:
|
但是去掉ecs解析正常 配置:
dig解析:
日志:
|
已修复错误,请尝试最新commit b75d685 目前已知问题:dig 会附加 EDNS Cookie 选项,似乎会导致与 EDNS ClientSubnet 冲突(DNSPOD),可使用 +nocookie 禁用
测试结果:
|
试了一下新的commit,如果首次dig请求不加+nocookie仍然出现超时,但如果首次请求加+nocookie则返回正常,再次请求即使不加+nocookie也正常。 首次请求不加+nocookie日志:
|
无法复现,我这里正常 你可以尝试更换 DNS 服务器 |
版本:
配置文件:
解析错误:
日志:
The text was updated successfully, but these errors were encountered: