On this page you find all important commands for the CLI tool pihole. If the
command you are looking for is missing please ask our AI.
pihole
Pi-hole is a powerful command line tool that acts as a network-wide ad blocker and DNS sinkhole. It runs on a Linux-based system and can be accessed via a command line interface. The tool essentially functions as a DNS server that filters out ads, trackers, and other unwanted content before they reach any device on the network. By blocking such content at the DNS level, Pi-hole improves network performance and enhances privacy. It can be easily installed and configured, and it offers a web interface for monitoring and managing the tool. Pi-hole also provides various customization options and supports several blocklist providers, allowing users to tailor their ad-blocking preferences.
List of commands for pihole:
-
pihole:tldr:13e78 pihole: Open a real-time log of connections.$ pihole tailtry on your machineexplain this command
-
pihole:tldr:23e87 pihole: Update Pi-hole and Gravity.$ pihole -uptry on your machineexplain this command
-
pihole:tldr:30bce pihole: Start or stop the daemon.$ pihole ${select}try on your machineexplain this command
-
pihole:tldr:4d409 pihole: Check the Pi-hole daemon's status.$ pihole statustry on your machineexplain this command
-
pihole:tldr:5d35e pihole: Search the lists for a domain.$ pihole query ${example-com}try on your machineexplain this command
-
pihole:tldr:87380 pihole: Restart the daemon (not the server itself).$ pihole restartdnstry on your machineexplain this command
-
pihole:tldr:f2d03 pihole: Whitelist or blacklist a domain.$ pihole ${select} ${example-com}try on your machineexplain this command