Security

Host AdGuard Home on VeloxaHost

AdGuard Home is a DNS server that blocks ads, trackers and malware domains for every device that uses it, with DNS-over-HTTPS and DNS-over-TLS built in. People run it on a server to filter their phone and laptop DNS everywhere, not only at home behind their router.

The one-click install downloads the latest AdGuard Home release from AdGuard's servers into /opt/AdGuardHome on Ubuntu 24.04 and installs it as a system service with AdGuardHome -s install. Until you finish the setup wizard, the web interface listens on port 3000.

AdGuard Home is built by AdGuard and documented in its knowledge base. Filtering is done with blocklists you choose (AdGuard's own and community lists), and the dashboard shows which clients asked for which domains.

What it needs

DNS filtering is light work. AdGuard Home is a single Go binary, and for one person or a family its memory use is small; the blocklists you enable and the length of the query log you keep are what grow it. The app's minimum here is 1 vCPU and 256 MB. The recommended 1 GB fits the Veloxa Nano size: 1 vCPU, 1 GB RAM and 25 GB of disk for $4 a month, billed at $0.01 an hour and capped at the monthly price.

How clients reach it on VeloxaHost

This is the part to plan, because plain DNS expects port 53.

Every server gets a block of ports on the region's shared IPv4 address. Phones and operating systems cannot send plain DNS to a non-standard port, so on the shared address use DNS-over-HTTPS, which is an ordinary HTTPS URL and works on any port:

  1. Under How to connect on the server's page, forward a port of your block to 3000 and finish the setup wizard at http://<shared-ip>:<port>. The wizard offers port 80 for the admin interface; keep it or pick another, forward a port of your block to it, and set a strong admin password.
  2. Get a TLS certificate for a domain you own. A DNS challenge (for example certbot with your DNS provider's plugin) works without ports 80 and 443.
  3. In Settings, Encryption settings, enable encryption, enter your domain and the certificate paths, and set the HTTPS port. Forward a port of your block to it.
  4. Use https://dns.example.com:<port>/dns-query as the DoH address in your browser or a DoH-capable client.

For plain DNS on port 53 and DNS-over-TLS on port 853, which Android's Private DNS uses, you need a dedicated IPv4 address (a paid add-on with limited availability). IPv6 is not available in US East yet.

Do not run an open resolver. On a public address, restrict who may query under Settings, DNS settings, Access settings (allowed clients), or attach a VeloxaHost firewall that allows port 53 only from your own addresses.

Backups and updates

Settings live in AdGuardHome.yaml in /opt/AdGuardHome, and statistics and the query log in its data folder; AdGuard's FAQ says to back up both, with the service stopped. Turn on automatic snapshots on the server page (hourly up to weekly, kept for 1 to 30 days) or a backup schedule (every 6 hours up to weekly, keeping 1 to 10).

AdGuard Home updates itself: the dashboard shows when a new version is out and Update now installs it, or you can run /opt/AdGuardHome/AdGuardHome --update in the browser terminal. Take a snapshot first.

FAQ

How much RAM does AdGuard Home need?

Little. A personal or family resolver runs well on the 1 GB Veloxa Nano. Very large blocklists and long query-log retention are what push memory up; shorten the log in Settings, General settings if you need to.

Can I use AdGuard Home on my phone when I am away from home?

Yes, and that is the main reason to run it on a server. Firefox and Windows 10 and 11 support DoH natively, and iOS and macOS take a DoH configuration profile, so the DoH URL on a forwarded port covers most devices. Android's built-in Private DNS uses DNS-over-TLS on port 853, which needs a dedicated IPv4 address.

Can I use my own domain?

Yes, and you need one for encrypted DNS, because the certificate is issued for a domain name. Point an A record at the shared address and use your forwarded port, or at a dedicated IPv4 address.

How is it different from Pi-hole?

Both block at the DNS level. AdGuard Home ships DNS-over-HTTPS, DNS-over-TLS and DNS-over-QUIC in the same binary, with per-client settings in the web interface. Pi-hole is also available as a one-click app.

What license is AdGuard Home under?

AdGuard Home is released under the GPL-3.0 license. AdGuard's other products, such as its browser extensions and apps, are separate.