pihole Command Examples

Manage the Pi-hole ad-blocking DNS server. More information: https://docs.pi-hole.net/main/pihole-command.

pihole status

pihole {{[-up|updatePihole]}}

pihole {{enable|disable}}

pihole reloaddns

pihole {{[-g|updateGravity]}}

pihole {{allowlist|denylist}} {{example.com}}

pihole {{[-q|query]}} {{example.com}}

pihole {{[-t|tail]}}