AdGuardHomeForMagisk icon indicating copy to clipboard operation
AdGuardHomeForMagisk copied to clipboard

配合box模块,链接数暴涨

Open IMFsy opened this issue 3 months ago • 6 comments

Image如图 box使用tproxy模式 dns填写 127.0.0.1:5591 放置一晚上 连接数达到400多。全是adgh的链接

IMFsy avatar Sep 27 '25 07:09 IMFsy

@IMFsy 关闭iptables,按教程里办法使用

twoone-3 avatar Sep 30 '25 01:09 twoone-3

@IMFsy 关闭iptables,按教程里办法使用

adgh的iptables是关闭状态,box模块在tun和tproxy模式下均是这种情况,

IMFsy avatar Sep 30 '25 01:09 IMFsy

@IMFsy 关闭iptables,按教程里办法使用

adgh的iptables是关闭状态,box模块在tun和tproxy模式下均是这种情况,

看看adgh的dns相关配置,正常来说没有dns google

twoone-3 avatar Oct 02 '25 09:10 twoone-3

@IMFsy 关闭iptables,按教程里办法使用

adgh的iptables是关闭状态,box模块在tun和tproxy模式下均是这种情况,

看看adgh的dns相关配置,正常来说没有dns google

默认配置里面的备用dns有谷歌和cf fallback_dns: - https://1.1.1.1/dns-query - https://8.8.8.8/dns-query 另外发现当上游dns全为DOH时,不会出现这种情况 只会有两条dns连接,当上游dns为非443端口dns时,比如dot 853 doq853 明文53 均会出现大量重复的dns连接,且运行时间越长,连接越多

IMFsy avatar Oct 02 '25 10:10 IMFsy

这是ip的doh,没有dns.google,检查下box的dns配置

twoone-3 avatar Oct 02 '25 10:10 twoone-3

这是ip的doh,没有dns.google,检查下box的dns配置

这是之前连接数很多的时候我截的图,可能当时我填写的域名的dot,现在写成ip的dot也是会出现大量的ip连接。这是我刚刚切换为dot的截图

Image 使用doh时,只会产生4条dns连接

Image

IMFsy avatar Oct 02 '25 10:10 IMFsy