peasant

华硕路由器 IPv6 Passthrough 模式会分配路由器 IPv6 地址做 DNS,有办法去掉吗?

  •  
  •   peasant · May 6, 2023 · 3622 views
    This topic created in 1127 days ago, the information mentioned may be changed or developed.

    内网有台机器负责 v4 的 DHCP 和 DNS ,路由器的 DHCP 是关闭的,但是开启 IPv6 的 Passthrough 模式就会给内网机器添加一个 IPv6 的 DNS 服务器,是路由器自身的 IPv6 地址,这就导致有些域名解析不会走内网的 DNS 了,手动改设备的 DNS 有点麻烦,有没有办法只分配 IPv6 地址,不设置 IPv6 的 DNS ?

    9 replies    2023-06-26 17:55:23 +08:00
    mohumohu
        1
    mohumohu  
       May 6, 2023
    openwrt 可能比较好改,华硕的系统我记得是 readonly 的比较麻烦
    peasant
        2
    peasant  
    OP
       May 6, 2023
    @mohumohu 是的,配置文件基本改不了,实在不行就用 NAS 跑虚拟机软路由算了
    deorth
        3
    deorth  
       May 6, 2023 via Android   ❤️ 2
    说到这个,tplink 可以改 v6 dns ,但是他只能改成公网地址。结果我试了一下居然是前端校验的,直接发请求改成 fe80 的本地链路地址是可以的
    retanoj
        4
    retanoj  
       May 6, 2023
    我也遇到这个问题
    光猫 v4 DHCP 关了,v6 DHCP 开着。虚拟机跑 OpenWRT 开 v4 的 DHCP 。
    客户端获取到的 v6 都是光猫分出来的。
    handshake
        5
    handshake  
       May 6, 2023
    选项下面的自动接入 DNS 关了
    peasant
        6
    peasant  
    OP
       May 6, 2023
    @deorth
    @retanoj
    @handshake
    试了下把 IPv6DNS 设置里的自动接上 DNS 服务器关了,然后下面填了跑着 DNS 那台机器的 fe80 地址,设备里的 v6DNS 还是路由器的公网 v6 地址,解析请求通过路由器又转发到了内网机器上,就是 DNS 查询记录里的客户端 IP 都变成路由器 IP 了,对我来说问题不大,就是不知道那个 fe80 的地址会不会变。
    deorth
        7
    deorth  
       May 6, 2023 via Android   ❤️ 1
    @peasant 不会变,fe80 地址是用 mac 算出来的,如果换了机器或者网卡的时候记得改下就行
    teky
        8
    teky  
       May 9, 2023
    netsh interface ipv6 set global rdnss=disabled
    shikkoku
        9
    shikkoku  
       Jun 26, 2023
    @fastcache #8 重启电脑会失效的吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3138 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 02:55 · PVG 10:55 · LAX 19:55 · JFK 22:55
    ♥ Do have faith in what you're doing.