MirrorNest
← Todos os guias

Pi-hole

Network-wide ad and tracker blocking at the DNS level — one install protects every device on your network.

Destino: Ubuntu / Debian / Raspberry Pi OSNetworkingPrivacySite oficial ↗Documentação oficial ↗
Este guia foi elaborado a partir da documentação oficial do Pi-hole, ligada acima — verifique sempre lá os nomes exatos dos pacotes/versões antes de executar estes comandos num servidor de produção, uma vez que as versões da distribuição e do projeto mudam com o tempo.
  1. 1Run the official installer

    curl -sSL https://install.pi-hole.net | bash

    This is Pi-hole's own documented install method. The installer is interactive — it'll ask which network interface and upstream DNS provider to use.

  2. 2Note the admin password

    The installer prints a randomly generated web admin password at the end — save it, or reset it any time with pihole -a -p.

  3. 3Point your router or devices at it

    Set your router's DNS server (or each device's, if you can't change the router) to this server's IP address so all DNS queries get filtered.

  4. 4Open the dashboard

    http://your-server-ip/admin