dae遇到节点不支持ipv6解决方案
Shus

前阵子想换dae因为用了eBPF性能比v2rayA高不少因为不用频繁从内核态和用户态交换数据,但是因为我节点不支持IPv6一直搞不定,刚好今天闲着重新搞了一下

在DNS下进行该设置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ipversion_prefer: 4

upstream {
googledns: 'tcp+udp://dns.google:53'
alidns: 'udp://dns.alidns.com:53'
}
routing {
request {
qtype(https) -> reject
qtype(aaaa) -> reject
fallback: alidns
}

response {
upstream(googledns) && qtype(a) -> accept
ip(geoip:private) && !qname(geosite:cn) -> googledns
fallback: accept
}

根据官方的模板,把aaaa reject就行,主要是

1
upstream(googledns) && qtype(a) -> accept

只接受IPv4就好,剩下的reject

参考: https://github.com/daeuniverse/dae/discussions/833

 Comments
Comment plugin failed to load
Loading comment plugin