Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo -s
- apt-get update && apt-get upgrade -y
- apt-get install nano curl -y
- curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh > install.sh
- Hoặc wget https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh
- chmod a+x install.sh
- ./install.sh
- // Fix fail to bind on port 53
- mkdir -p /etc/systemd/resolved.conf.d/
- nano /etc/systemd/resolved.conf.d/adguardhome.conf
- //Gõ vào nội dung sau
- [Resolve]
- DNS=127.0.0.1
- DNSStubListener=no
- mv /etc/resolv.conf /etc/resolv.conf.backup
- ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
- systemctl restart systemd-resolved
- // Thiết lập trên Dashboard
- Filters –> DNS Blocklists
- https://dbl.oisd.nl/
- Settings –> DNS Setting
- Upstream DNS Servers
- 1.1.1.1
- 1.0.0.1
Add Comment
Please, Sign In to add comment