Guía

DNS privado con AdGuard Home y Unbound

Intermedio20 min de lecturaActualizado 12 de mayo de 2026
Respuesta corta

AdGuard Home filtra y sirve DNS-over-HTTPS; Unbound detrás realiza recursión completa para que ningún resolutor ascendente vea tus consultas. En una instancia de $4, el par usa menos de 200 MB de RAM y reemplaza la fuente más rica de datos de comportamiento sobre ti: el resolutor de tu ISP.

01 Instala Unbound como resolutor recursivo

Bind it to localhost on a non-standard port so AdGuard Home can take 53.

apt install -y unbound
cat >/etc/unbound/unbound.conf.d/local.conf <<'EOF'
server:
  interface: 127.0.0.1@5335
  do-ip6: yes
  prefetch: yes
  hide-identity: yes
  hide-version: yes
  qname-minimisation: yes
EOF
systemctl restart unbound

02 Instala AdGuard Home

The installer sets up a systemd unit and a web interface on port 3000 for initial configuration.

curl -sSL https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

03 Apunta AdGuard a Unbound

In Settings → DNS, set the upstream to 127.0.0.1:5335 and disable all other upstreams. Full recursion means no third party sees your queries at all.

04 Habilita DNS-over-HTTPS

Get a certificate with Certbot, then enable DoH on 443 and DoT on 853 in the encryption settings. Clients then reach the resolver privately in transit as well as at rest.

certbot certonly --standalone -d dns.example.com

05 Protégelo

Restrict access by client IP, or require DoH with a secret path. An open resolver is recruited into DNS amplification attacks within days and will be null-routed.

Preguntas frecuentes

¿Es esto mejor que un resolutor público?

Privadamente, sí: ningún tercero ve tus consultas con recursión completa. Los resolutores públicos son más rápidos por su tamaño de caché; el intercambio es velocidad por visibilidad.

¿Cuánto cuesta ejecutarlo?

$4 al mes. Es la mejora de privacidad significativa más barata disponible.