openwrt 怎么单独给某个设备下发 ipv6 的 dns

11次阅读

共计 279 个字符,预计需要花费 1 分钟才能阅读完成。

ui 上通告的 IPv6 DNS 服务器 只能给所有设备下发
在 openwrt 的 /etc/config/dhcp 中修改文件,可以指定单独设备分配 ipv4 的 dns 或者其他信息
config host
option name ‘device’
option dns ‘1’
option mac ‘AA:BB:CC:DD:EE:FF’
option ip ‘192.168.5.26’
option tag ‘other_dns’

config tag ‘other_dns’
list dhcp_option ‘6,192.168.5.7’

但是 ipv6 的 dns 在添加了 list dns ‘fd::dee’ 的情况下并没有生效

正文完
 0