tldr/pages/linux/pihole.md

29 lines
504 B
Markdown
Raw Normal View History

2019-06-07 22:56:19 +01:00
# 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}}`