1、下载AdGuard Home,解压
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz
tar xvf AdGuardHome_linux_arm.tar.gz
2、进入AdGuardHome目录,安装
cd AdGuardHome
sudo ./AdGuardHome -s install
3、WEB界面配置
4、查看是否已运行
host doubleclick.net 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:
Host doubleclick.net not found: 3(NXDOMAIN)
5、常用命令
# 卸载服务
sudo ./AdGuardHome -s uninstall
# 启动服务
sudo ./AdGuardHome -s start
# 停止服务
sudo ./AdGuardHome -s stop
# 重启服务
sudo ./AdGuardHome -s restart
# 目前状态
sudo ./AdGuardHome -s status
6、上游 DNS 服务器
https://dns10.quad9.net/dns-query
202.102.134.68
202.102.128.68
223.5.5.5
tls://8.8.4.4
tls://8.8.8.8
tls://dns.quad9.net
7、Bootstrap DNS 服务器
202.102.134.68
202.102.128.68
223.5.5.5
114.114.114.114
8.8.4.4
8、其他设置
#anti-AD EasyList
https://gitee.com/privacy-protection-tools/anti-ad/raw/master/easylist.txt
192.168.6.6 idc.cc
@@||gvt1.com^$important
@@||gvt2.com^$important
! Android TV OTA
@@||iotapi.adups.com^$important
@@||app-measurement.com^$important
@@||oth.str.mdt.qq.com^$important
@@||clientservices.googleapis.com^$important
@@||stat.download.xunlei.com^$important
@@||gtm.oasisfeng.com^$important
@@||checkip.amazonaws.com^$important