adguardhome

by QuenchWorks

Helm chartv0.0.2App 0.107.80GPL-3.0-onlyVerified publisher

AdGuard Home: a network-wide ad and tracker blocking DNS server with a web UI, with the admin seeded at install and DNS on port 53 from a nonroot pod. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks AdGuard Home

Hardened AdGuard Home, a network-wide ad and tracker blocking DNS server with a web UI, encrypted upstreams (DNS-over-HTTPS, TLS and QUIC), blocklists and per-client rules. The image is built from source with its web client embedded; it runs as uid 1001 and is CVE-gated at build, cosign-signed and pinned by digest.

Install

helm install dns oci://ghcr.io/quenchworks/charts/adguardhome --set service.type=LoadBalancer
kubectl get secret dns-adguardhome -o jsonpath='{.data.admin-password}' | base64 -d

The chart seeds a config with the admin (as a bcrypt hash) and DNS on port 5353 in the pod, so the setup wizard is skipped and the pod needs no privileged port; the Service publishes DNS on 53 (UDP and TCP). The seed is copied on the first start only: after that AdGuard owns its config file on the volume, and settings you change in the UI persist.

Configuration

KeyDefaultWhat it does
admin.usernameadminThe web UI admin (password generated into the Secret)
admin.existingSecret""A Secret with admin-password and your own seed AdGuardHome.yaml
upstreamDNS[]Upstream servers for the seed config; empty keeps AdGuard's defaults
service.typeClusterIPLoadBalancer to serve DNS to your network
service.port, service.dnsPort3000, 53Web UI and DNS
persistence.size5GiConfig, query log, statistics and filter lists

AdGuard Home's own TLS (HTTPS UI, DoH and DoT for clients) is not wired by this chart yet; put the web UI behind an ingress with TLS.

Verify the image

cosign verify ghcr.io/quenchworks/images/adguardhome \
  --certificate-identity-regexp 'https://github.com/quenchworks/.+' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Deploy adguardhome with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has adguardhome on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartadguardhome is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply