恩 还有点用吧
之前的那个内存不够 容易重启
就搭建了 pve 跑了 openwrt

方案
方案1: 修改 openwrt 中的 dnsmasq 服务器端口号
方案2: 开启 openwrt 中的 dnsmasq 服务器的转发功能
最终选择了方案1
这样可以显示出来dns查询的ip
adguard 安装
1 | opkg install adguardhome |
adguard 配置
修改文件保存位置
/etc/config/adguardhome
1 | config adguardhome config |
dns上游
1 | https://dns.alidns.com/dns-query |
dns黑名单
easylistchina:https://easylist-downloads.adblockplus.org/easylistchina.txtAdGuard DNS filter mirror:https://raw.gitmirror.com/AdguardTeam/HostlistsRegistry/refs/heads/main/assets/filter_1.txt
openwrt 配置
用于 修改 openwrt dns端口 无 dns服务器下发
修改 dhcp 服务器选项 手动下发dns地址 6,192.168.9.1
