LinuxCommandLibrary

pihole

pihole

TLDR

Check the Pi-hole daemon's status

$ pihole status
copy


Update Pi-hole and Gravity
$ pihole -up
copy


Monitor detailed system status
$ pihole chronometer
copy


Start or stop the daemon
$ pihole [enable|disable]
copy


Restart the daemon (not the server itself)
$ pihole restartdns
copy


Whitelist or blacklist a domain
$ pihole [whitelist|blacklist] [example.com]
copy


Search the lists for a domain
$ pihole query [example.com]
copy


Open a real-time log of connections
$ pihole tail
copy

Copied to clipboard