AdGuardHomeAdguard home is an open source DNS server version of adguard, a famous advertisement interceptor provider. Adguard home blocks advertising and tracking related domain names, and you don’t need to install any client software. Adguard home works by intercepting ads on Web pages during DNS domain name resolution.
In short, adguard home is an open source public DNS service that supports advertising filtering and parental control, just like Google’s public DNS service 8.8.8.8. Adguard home also supports DNS over TLS and DNS over HTTPS.
major function
- Block ads everywhere
- Pay attention to privacy protection
- Family protection model
- Custom filtering rules
Installation preparation
- A cloud server
setup script
First enter the cloud server, and then refer toOfficial installation documentation, download the corresponding installation version.
To view the version, you can use the command:uname -a
My return is:Linux VM-0-14-debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
So download the 64 bit version
//Download
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
#Decompress
tar -zxvf AdGuardHome_linux_amd64.tar.gz
#Enter the adguardhome directory
cd AdGuardHome
#Start adguard home
./AdGuardHome -s install
//Access IP: 3000 to configure the adguard home
Follow the settings all the way and remember your password and port.
Configuration page
In this way, the installation and configuration are completed.
use
Click settings, DNS settings
Set up the upstream server, you can set it according to your own needs
1.1.1.1
180.76.76.76
119.29.29.29
223.5.5.5
114.114.114.114
8.8.8.8
Click apply to save the configuration.
otherDNS service settings
You can set it according to your needs. Here I set * * speed limit * * to 0 and turn it on at the same timeEDNS
You need to click Save again. Other configurations can be studied by yourself.
Point filter settings, you can add your own filter needs, two recommended
//Chengfeng advertising filtering rules
https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/ABP-FX.txt
// EasyList China+EasyList
https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt
//A collection rule, a collection of easylist and other services
https://gitee.com/halflife/list/raw/master/ad.txt
In addition, it can be configured in * * settings encryption settings * *https
Encryption, as needed to solve their own.
In addition, boot can be added.
systemctl enable AdGuardHome
At the end of the paper, we will post several admonitory commands
#Start the adguardhome service
./AdGuardHome -s start
#Stop the adguardhome service
./AdGuardHome -s stop
#Restart the adguardhome service
./AdGuardHome -s restart
#View adguardhome service status
./AdGuardHome -s status
#Uninstall the adguardhome service
./AdGuardHome -s uninstall
At the same time, there is a yaml configuration file in the folder where you unzip the installation. You can also modify the contents through the configuration file
It should be noted that it is better not to access through port 53, or there may be a risk of being warned by the operator (private DNS is forbidden explicitly). However, private use through other ports is generally nothing
This work adoptsCC agreementThe author and the link to this article must be indicated in the reprint