1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/pihole.md
2021-07-02 20:29:24 +01:00

36 lines
601 B
Markdown

# 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`
- Update Pi-hole:
`pihole updatePihole`
- 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`