AdGuardHome For Ubuntu

Download AdGuardHome

1
wget https://static.adguard.com/adguardhome/edge/AdGuardHome_linux_amd64.tar.gz -O AdGuardHome.tar.gz

Install AdGuardHome

1
2
3
4
5
tar xvf AdGuardHome.tar.gz

cd AdGuardHome

./AdGuardHome --service install

:53 bind: address already in use

Stop DNSStubListener

1
systemctl stop systemd-resolved

Create Folder

1
mkdir /etc/systemd/resolved.conf.d/

Edit adguardhome.conf

1
2
3
4
5
6
7
vim /etc/systemd/resolved.conf.d/adguardhome.conf

[Resolve]
DNS=127.0.0.1
DNSStubListener=no

Save & Exit

Create Backup

1
sudo mv /etc/resolv.conf /etc/resolv.conf.backup
1
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

Restart DNSStubListener

1
systemctl restart systemd-resolved

Check Port 53

1
netstat -tunlp | grep 53

Finish!

Open browser input http://IP:3000