From d8efdc142cea289cc4e1c40fa191c4087712826d Mon Sep 17 00:00:00 2001 From: Robert Buchberger Date: Fri, 7 Jun 2019 23:56:19 +0200 Subject: [PATCH] pihole: add page (#3091) --- pages/linux/pihole.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/linux/pihole.md diff --git a/pages/linux/pihole.md b/pages/linux/pihole.md new file mode 100644 index 0000000000..927ef2064e --- /dev/null +++ b/pages/linux/pihole.md @@ -0,0 +1,28 @@ +# pihole + +> Terminal interface for the Pi-Hole ad-blocking DNS server. +> More information: . + +- 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}}`