pihole
Terminal interface for the Pi-hole ad-blocking DNS server. More information: https://docs.pi-hole.net/core/pihole-command/.
-
Check the Pi-hole daemon's status:
pihole status
-
Update Pi-hole and Gravity:
pihole -up
-
Monitor detailed system status:
pihole chronometer
-
Start or stop the daemon:
pihole {{enable|disable}}
-
Restart the daemon (not the server itself):
pihole restartdns
-
Whitelist or blacklist a domain:
pihole {{whitelist|blacklist}} {{example.com}}
-
Search the lists for a domain:
pihole query {{example.com}}
-
Open a real-time log of connections:
pihole tail
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.