2019-06-07 22:56:19 +01:00
|
|
|
# pihole
|
|
|
|
|
2021-07-02 20:29:24 +01:00
|
|
|
> Terminal interface for the Pi-hole ad-blocking DNS server.
|
2022-04-24 08:44:17 +01:00
|
|
|
> More information: <https://docs.pi-hole.net/core/pihole-command/>.
|
2019-06-07 22:56:19 +01:00
|
|
|
|
|
|
|
- Check the Pi-hole daemon's status:
|
|
|
|
|
|
|
|
`pihole status`
|
|
|
|
|
2022-04-24 08:44:17 +01:00
|
|
|
- Update Pi-hole and Gravity:
|
2021-07-02 20:29:24 +01:00
|
|
|
|
2022-04-24 08:44:17 +01:00
|
|
|
`pihole -up`
|
2021-07-02 20:29:24 +01:00
|
|
|
|
2019-06-07 22:56:19 +01:00
|
|
|
- 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}}`
|
2021-07-02 20:29:24 +01:00
|
|
|
|
|
|
|
- Open a real-time log of connections:
|
|
|
|
|
|
|
|
`pihole tail`
|