Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-08 00:14:59 +00:00
parent a812b3c467
commit f8bee5305f
111 changed files with 540 additions and 310 deletions

View File

@@ -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]}}`