zfl9 / chinadns-ng

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

是否有办法对特定的局域网内某IP返回过滤掉AAAA #181

Closed Smallthing closed 2 months ago

Smallthing commented 2 months ago

比如10.1.1.111 这个IP不想让他得到任何V6的AAAA记录但是却可以分配到IPV6地址。

zfl9 commented 2 months ago

你的意思是:对于大部分客户端,不过滤AAAA;仅针对少数几个客户端(src-ip),过滤AAAA?

如果是这样,可以启动两个 chinadns-ng 进程:

因为这种需求不是很常见,所以能简单解决就简单解决,尽量不增加对大家无用的代码。

Smallthing commented 2 months ago

好的 可以

zfl9 commented 2 months ago

那先关了。