Skip to content
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

Fix Compress UDP DNS response instead of truncate #1442

Closed
wants to merge 1 commit into from
Closed

Fix Compress UDP DNS response instead of truncate #1442

wants to merge 1 commit into from

Conversation

yvvw
Copy link

@yvvw yvvw commented Feb 4, 2024

17aebc5 修复UDP DNS响应体过长导致无法解析的问题后,出现 api.aliyundrive.com 因截取导致 ip 信息丢失的问题,经抓包分析发现可以使用压缩选项来解决这两类域名问题

# 1.8.5
nslookup api.aliyundrive.com 192.168.2.179:1053
Server:         192.168.2.179:1053
Address:        192.168.2.179:1053

Non-authoritative answer:

Non-authoritative answer:
api.aliyundrive.com     canonical name = beijing.tfe.alibaba-clould.alibabacorp.com
beijing.tfe.alibaba-clould.alibabacorp.com      canonical name = beijing.tfe.alibaba-clould.alibabacorp.com.gds.alibabadns.com
beijing.tfe.alibaba-clould.alibabacorp.com.gds.alibabadns.com   canonical name = bj-static.tfe.alibaba-clould.alibabacorp.com
bj-static.tfe.alibaba-clould.alibabacorp.com    canonical name = bj-static.tfe.alibaba-clould.alibabacorp.com.gds.alibabadns.com

第三方上游DNS服务器返回压缩DNS响应体
image
经sing-box DNS服务器返回未压缩DNS响应体
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants