Link Search Menu Expand Document


Terminal interface for the Pi-hole ad-blocking DNS server. More information:

  • 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}} {{}}

  • Search the lists for a domain:

pihole query {{}}

  • Open a real-time log of connections:

pihole tail