Skip to content

xdns2.0 - #6718

Draft
LjhAUMEM wants to merge 1 commit into
XTLS:mainfrom
LjhAUMEM:xdns
Draft

xdns2.0#6718
LjhAUMEM wants to merge 1 commit into
XTLS:mainfrom
LjhAUMEM:xdns

Conversation

@LjhAUMEM

@LjhAUMEM LjhAUMEM commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

一些想法,防止以后忘记

protocol

  • 取 client id/padding bytes 高 1bit 分片位,低 2bit 记录位
  • a aaaa cname 同 response 里的 answer 开头两个字节的 i/n 改为 i == 0 时候才有 n,其余单 i

todo

  • frag
  • cname
  • optional edns0

总感觉忘了什么,先写这些 (年纪老老就这么健忘了,哎)

@Fangliding
Fangliding marked this pull request as draft September 3, 2026 14:53
@LjhAUMEM LjhAUMEM changed the title xdns xdns2.0 Sep 4, 2026
@LjhAUMEM

LjhAUMEM commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator Author

2.0 预计改动

  1. 支持配置 域名label最大长度 域名最大长度
  2. 支持配置 initPollDelay maxPollDelay pollDelayMultiplier (仅客户端) maxResponseDelay (仅服务端)
  3. 支持配置 ends0 (仅长度字段,对于服务端意义为 mtu,对于单个查询将先预测 cap,再决定是否 frag,上层无需再限制 mtu)
  4. 删除 sendLoop
  5. 添加 SocketConfig 配置 (用于改回多 socket 模式),同时将只支持作为最后一层配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant