mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 18:53:04 +00:00
Update cheatsheets
This commit is contained in:
41
linux/pihole
Normal file
41
linux/pihole
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user