2022-11-29T22:20:28.361+0800 debug main_sequence.node_6.if condition matcher result {"query": "docker.io. IN A 54708 12 127.0.0.1", "result": true, "query_diyaccelerate": "true"}
2022-11-29T22:20:28.489+0800 warn _setextGFW failed to add elems to nftables {"query": "docker.io. IN A 54708 12 127.0.0.1", "error": "failed to add ipv4 elems [18.210.197.188/24 18.206.20.10/24 3.228.146.75/24]: failed to get set, Receive: netlink receive: no such file or directory"}
2022-11-29T22:20:28.360+0800 debug lazy_cache cache miss {"query": "docker.io. IN A 54708 12 127.0.0.1"}
2022-11-29T22:20:28.361+0800 debug main_sequence.node_5.if condition matcher result {"query": "docker.io. IN A 54708 12 127.0.0.1", "result": false, "query_gfw": "false"}
2022-11-29T22:20:28.361+0800 debug main_sequence.node_6.if condition matcher result {"query": "docker.io. IN A 54708 12 127.0.0.1", "result": true, "query_diyaccelerate": "true"}
2022-11-29T22:20:28.489+0800 warn _setextGFW failed to add elems to nftables {"query": "docker.io. IN A 54708 12 127.0.0.1", "error": "failed to add ipv4 elems [18.210.197.188/24 18.206.20.10/24 3.228.146.75/24]: failed to get set, Receive: netlink receive: no such file or directory"}
2022-11-29T22:20:28.489+0800 debug entry returned {"query": "docker.io. IN A 54708 12 127.0.0.1"}
在提交之前,请确认
mosdns 版本
V4.5.3
操作系统
OpenWrt 22.03.2
Bug 描述和复现步骤
我想使用 nftset 插件,访问特定网址时, 将应答 IP 写入 nftables
在main_sequence中
我有在 query_diyaccelerate 引用文件中定义一个域名:docker.io
最后,应答没有问题,添加 nftables 有报错,具体报错如下:
2022-11-29T22:20:28.361+0800 debug main_sequence.node_6.if condition matcher result {"query": "docker.io. IN A 54708 12 127.0.0.1", "result": true, "query_diyaccelerate": "true"} 2022-11-29T22:20:28.489+0800 warn _setextGFW failed to add elems to nftables {"query": "docker.io. IN A 54708 12 127.0.0.1", "error": "failed to add ipv4 elems [18.210.197.188/24 18.206.20.10/24 3.228.146.75/24]: failed to get set, Receive: netlink receive: no such file or directory"}
另外:我是下载 最新的 V4.5.3 mosdns-linux-arm64.zip 文件中的核心文件做的测试,问题是存在的。
使用的配置文件
mosdns 的 log 记录