openwrt如何对某个域名走特殊dns

System -> 高级设置 -> dnsmasq

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
strict-order
server=/cluster.local/dns的ip
strict-order server=/cluster.local/dns的ip
strict-order
server=/cluster.local/dns的ip

保存后生效。

也可以直接编辑/etc/dnsmasq.conf

Leave a Reply

Your email address will not be published. Required fields are marked *