pihole Command Examples

Terminal interface for the Pi-hole ad-blocking DNS server. More information: https://docs.pi-hole.net/core/pihole-command/.

pihole status

pihole -up

pihole chronometer

pihole {{enable|disable}}

pihole restartdns

pihole {{whitelist|blacklist}} {{example.com}}

pihole query {{example.com}}

pihole tail