![]() |
1
ZE3kr 154 天前 ![]() 在旁路由上搭建禁用 AAAA 的 DNS Server ,并在需要禁用 IPv6 的设备上使用旁路由内网 DNS
|
![]() |
2
cyc616000 154 天前 via Android ![]() smartdns, bind, coredns v2 射线 都支持改写 aaaa 记录
|
3
jtshs256 154 天前 via iPhone ![]() 我这边是取消 RA 通告 v6 dns 就完事了…双栈的 v4 dns 用下来挺正常的
|
![]() |
4
Nin 154 天前 ![]() mosdns 装在路由上,可以设置默认丢弃 AAAA 记录但不影响 v6 通信
|
![]() |
5
ResidualBlood 154 天前 ![]() 我是 主路由内网 v6 网关地址指向旁路 v6 地址
但你主路由没法改就.... |
![]() |
6
neroxps 154 天前 ![]() 我的做法是使用 coredns 搭建 DNS 服务器。配合某插件读取 clash 的规则文件,然后在 Ros 那边做目的地址分流。
匹配 clash 规则的 DNS 查询会向 Clash 查询,获得 faek-ip 地址。 不匹配规则的,向运营的 DNS 查询,获得真实的 IP 。 Ros 那边当目的地址为 fake-ip 就将数据包发往 openwrt 的 openclash 。 这样就不会影响 ipv6 访问。因为 clash 返回的永远只有 faek-ip |
7
xuanzc880 154 天前 ![]() 如果你的主路由没有修改 IPv6 配置的功能啥都没用,就像我的华为路由器,IPv6 只有关和开两种状态,其他配置都没法设置,导致 slaac 总是自动分配 IPv6 的 dns,根本无法正常使用旁路由的 dns.
|
![]() |
10
HaEx OP 上面消息不小心发出去了... 想说的是主路由并没有这些进阶能力,不过还是感谢回答
|
11
github2020 153 天前
正好今天 glider 发布的新版:
https://github.com/nadoo/glider/releases/tag/v0.16.0 dns: new config dnsnoaaaa to filter AAAA queries, default to false service: added dhcpd-failover service, only serve requests when there's no other dhcp server exists in lan, detect interval: 1min 或许可以解决问题? |
![]() |
14
neroxps 152 天前 ![]() @HaEx #13 哦 所以我 ros 做了个脚本,当 clash 的 DNS 崩了,自动切 dns 到电信网络。
https://github.com/neroxps/RouterOS-Script/blob/master/Clash_dns_check.rsc 并清除路由的 DNS 缓存。 所以还是买个好点的主路由。 |