mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 19:55:14 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,8 +5,8 @@ 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/>.
|
||||
> Manage the Pi-hole ad-blocking DNS server.
|
||||
> More information: <https://docs.pi-hole.net/main/pihole-command>.
|
||||
|
||||
- Check the Pi-hole daemon's status:
|
||||
|
||||
@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Update Pi-hole and Gravity:
|
||||
|
||||
`pihole -up`
|
||||
|
||||
- Monitor detailed system status:
|
||||
|
||||
`pihole chronometer`
|
||||
`pihole {{[-up|updatePihole]}}`
|
||||
|
||||
- Start or stop the daemon:
|
||||
|
||||
`pihole {{enable|disable}}`
|
||||
|
||||
- Restart the daemon (not the server itself):
|
||||
- Update the lists and flush the cache without restarting the DNS server:
|
||||
|
||||
`pihole restartdns`
|
||||
`pihole reloaddns`
|
||||
|
||||
- Whitelist or blacklist a domain:
|
||||
- Update the list of ad-serving domains:
|
||||
|
||||
`pihole {{whitelist|blacklist}} {{example.com}}`
|
||||
`pihole {{[-g|updateGravity]}}`
|
||||
|
||||
- Allow or deny the specified domain:
|
||||
|
||||
`pihole {{allowlist|denylist}} {{example.com}}`
|
||||
|
||||
- Search the lists for a domain:
|
||||
|
||||
`pihole query {{example.com}}`
|
||||
`pihole {{[-q|query]}} {{example.com}}`
|
||||
|
||||
- Open a real-time log of connections:
|
||||
|
||||
`pihole tail`
|
||||
`pihole {{[-t|tail]}}`
|
||||
|
||||
Reference in New Issue
Block a user