zfl9 / chinadns-ng

chinadns 重构增强版,支持域名分流、ipset/nftset、UDP/TCP/DoT
GNU Affero General Public License v3.0
1.1k stars 184 forks source link

[main.c:167 handle_local_packet] failed to send query to 119.28.28.28#53: (38) Function not implemented #122

Closed Smallthing closed 1 year ago

Smallthing commented 1 year ago

在ac68u这个古董上用最新的chinadns-ng版本提示这个。我应该下载哪个版本?

zfl9 commented 1 year ago

我知道问题了,sendmmsg不支持。

先用旧版本吧(3.10),待会我看看怎么兼容旧内核。

Smallthing commented 1 year ago

感谢,忘记说 之前是最后一个beta版本工作正常 这个ac68u的垃圾U好像没有fpu 所以应该下载不带hf后缀的v5版本?

Smallthing commented 1 year ago

运行起来了,另:在使用-d chn的情况下,-M是否还有效果,感谢

zfl9 commented 1 year ago

只有同时加载 gfwlist.txt 和 chnlist.txt 的情况下,-M 才有作用。

zfl9 commented 1 year ago

这个ac68u的垃圾U好像没有fpu 所以应该下载不带hf后缀的v5版本?

应该是吧,试试。

zfl9 commented 1 year ago

如果内核不支持,先暂时用 2023.03.10(个人精力有限,我得先抽空维护其他项目,这个后面会加兼容处理)


不过完全以内核版本为判断依据也不妥,比如 RHEL/CentOS 6 官方打了内核补丁,实际是支持 sendmmsg/recvmmsg 的。

https://access.redhat.com/solutions/56695

zfl9 commented 1 year ago

兼容了一下古董内核,我强行测了下,应该是没问题。你这边有空再试下。