mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-08 14:35:41 +02:00
pihole: add page (#3091)
This commit is contained in:
parent
6d353cf60a
commit
d8efdc142c
1 changed files with 28 additions and 0 deletions
28
pages/linux/pihole.md
Normal file
28
pages/linux/pihole.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# pihole
|
||||
|
||||
> Terminal interface for the Pi-Hole ad-blocking DNS server.
|
||||
> More information: <https://pi-hole.net>.
|
||||
|
||||
- Check the Pi-hole daemon's status:
|
||||
|
||||
`pihole status`
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue