Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
AdGuard Home

AdGuard Home

AdGuard Home is a network-wide DNS server that blocks ads and trackers for every device behind it. Point your router at it, then manage filter lists and per-client rules from the web UI. GPL-3.0 licensed with 36,200+ GitHub stars.

At a glance

License GPL-3.0 Version Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

Access

  1. Open the following address in your browser: http://<SERVER_IP>:3000
  2. Follow the Installation Wizard steps to finish setup.

Service Management

Check the service status:

/opt/AdGuardHome/AdGuardHome -s status

Start the service:

/opt/AdGuardHome/AdGuardHome -s start

Stop the service:

/opt/AdGuardHome/AdGuardHome -s stop

Restart the service:

/opt/AdGuardHome/AdGuardHome -s restart

Important Paths

  • Installation: /opt/AdGuardHome
  • DNS resolver configuration: /etc/systemd/resolved.conf.d/adguardhome.conf
  • Original resolver configuration backup: /etc/resolv.conf.backup
  • Active resolver configuration: /etc/resolv.conf

Notes

  • DNS port 53 is available for AdGuard Home because the systemd-resolved DNS stub listener has been disabled.
  • /etc/systemd/resolved.conf.d/adguardhome.conf configures systemd-resolved to use AdGuard Home at 127.0.0.1 with the DNS stub listener disabled, allowing AdGuard Home to use port 53.
  • The server itself continues to use AdGuard Home at 127.0.0.1 for DNS resolution.
  • The original /etc/resolv.conf is backed up at /etc/resolv.conf.backup.
  • /etc/resolv.conf is linked to /run/systemd/resolve/resolv.conf, allowing systemd-resolved to use the configured DNS server without occupying port 53.

More in Networking

Related apps.

Deploy AdGuard Home now. From $2.48/mo.