Privacy & Networking

Self-Hosting AdGuard Home + Unbound DNS-over-HTTPS on a VPS (2026)

AdGuard Home + Unbound recursive DNS use ~140 MB RAM total. Expose ONLY encrypted DoH/DoT (or restrict UDP 53 to WireGuard) so your VPS is never abused in DNS amplification attacks.

Self-Hosting AdGuard Home + Unbound DNS-over-HTTPS on a VPS (2026)
RATE SHEET

Hardware Spec & Verified Rate Sheet: AdGuard Home + Unbound

November 22, 2026
Hardware Spec & Verified Rate Sheet: AdGuard Home + Unbound
Provider / TierHardware & ArchitectureListNet BenefitCodeLink
Hostinger KVM 1
Recommended for AdGuard Home + Unbound
1 vCPU AMD EPYC · 4 GB DDR5 · 50 GB NVMe · 4 TB$6.49/mo~$5.19/mo (-20%)Claim -20%
Proton (VPN & Privacy)
WireGuard + VPS Privacy
Gluetun WireGuard + NAT-PMP · Swiss No-Logs · Mail/Drive/PassSubscription$20 USD creditClaim $20
01 Open the link to bind XF3PLUTARXVF (-20%) or 5AA9X0DA ($20 USD).02 Pick 12/24-mo KVM VPS or Proton Plus/Unlimited.03 Deploy Ubuntu 24.04 + Docker + WireGuard tunnel.
01 / HARDWARE TELEMETRY

Measured RAM, vCPU & NVMe Profile for AdGuard Home + Unbound

Min → Rec RAM
1 GB → 2 GB
Idle 135 MB · Peak 320 MB
Min → Rec vCPU
1 → 1 vCPU
AMD EPYC / High-Clock
Min → Rec NVMe
15 → 25 GB
PCIe Gen4 NVMe SSD
Primary Bottleneck

Geographic DNS RTT — choose the datacenter closest to your phones/home

Projected Memory Footprint on Hostinger KVM 1 (4 GB RAM)Idle 4% · Peak 9% · Headroom 91%
02 / DOCKER COMPOSE & SHELL

Production Deployment Stack (AdGuard Home + Unbound)

Docker Stack Sizer
docker-compose.ymlyaml
services:
  unbound:
    image: mvance/unbound:latest
    restart: unless-stopped
    deploy:
      resources:
        limits:
          memory: 192M

  adguardhome:
    image: adguard/adguardhome:latest
    restart: unless-stopped
    depends_on:
      - unbound
    ports:
      # Encrypted DNS-over-TLS ONLY on public interface (NEVER open raw 53 publicly!)
      - "853:853/tcp"
      - "127.0.0.1:3000:3000"
      - "127.0.0.1:8080:80"
    volumes:
      - ./adguard_work:/opt/adguardhome/work
      - ./adguard_conf:/opt/adguardhome/conf
    deploy:
      resources:
        limits:
          memory: 256M
deploy-and-verify.shbash
sudo ufw allow 22,80,443,853/tcp && sudo ufw --force enable
mkdir -p /opt/dns-privacy && cd /opt/dns-privacy
docker compose up -d
03 / PRODUCTION FIELD NOTES

Critical Operational Insights

Point AdGuard's upstream DNS to `unbound:5335` so queries resolve directly against authoritative root servers instead of third-party DNS providers.
04 / SECURITY & PRIVACY

UFW Firewall, TLS & WireGuard / ProtonVPN Hardening

CRITICAL: NEVER open public UDP port 53 on a cloud VPS — hosting providers suspend open DNS resolvers within hours due to DDoS amplification abuse. Use DoH (HTTPS/443), DoT (853/TCP), or WireGuard tunnel access.

Isolate container egress with ProtonVPN WireGuard + Proton Suite (US$20 in credits · code 5AA9X0DA).Claim US$20 on Proton
05 / VERIFIED DEPLOYMENT STACK

Deploy on Verified Infrastructure

KVM COMPUTE · EXTRA −20%

Hostinger KVM 1

~$5.19/mo
$6.49/mo
vCPU
1 EPYC
RAM
4 GB
NVMe
50 GB
24m Save
~$31
Renew: $9.99/mo · Free backups
SWISS PRIVACY · ACCOUNT CREDIT

Proton VPN & Unlimited

US$20
in credits
Tunnel
WireGuard
Docker
Gluetun + NAT
Suite
VPN·Mail·Drive
pr.tn/ref/5AA9X0DA

Frequently Asked Questions

Does iOS/Android support private DoT/DoH natively?

Yes — Android Private DNS uses DoT (`dns.yourdomain.com`) out of the box, and iOS supports signed DoH mobileconfig profiles natively.

More blueprints in this category

All guides