Skip to content

Commit fdaeb31

Browse files
committed
Add pihole networkflush info
Signed-off-by: yubiuser <[email protected]>
1 parent b1c7e4b commit fdaeb31

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/main/pihole-command.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Pi-hole makes use of many commands, and here we will break down those required t
1414
| [Allowlisting, Denylisting and Regex](#allowlisting-denylisting-and-regex) | `pihole allow`, `pihole deny`, `pihole --regex`, `pihole --wild`, `pihole --allow-regex`, `pihole --allow-wild` |
1515
| [Debugger](#debugger) | `pihole debug` |
1616
| [Log Flush](#log-flush) | `pihole flush` |
17+
| [Network Flush](#network-flush) | `pihole networkflush` |
1718
| [Repair](#repair) | `pihole repair` |
1819
| [Tail](#tail) | `pihole tail` |
1920
| [Set password](#password) | `pihole setpassword` |
@@ -75,6 +76,16 @@ The Pi-hole debugger will attempt to diagnose any issues, and link to an FAQ wit
7576

7677
When invoked manually, this command will allow you to empty Pi-hole's log, which is located at `/var/log/pihole/pihole.log`. The command also serves to rotate the log daily, if the `logrotate` application is installed.
7778

79+
### Network Flush
80+
81+
| | |
82+
| -------------- | -------------- |
83+
| Help Command | N/A |
84+
| Script Location | [`/opt/pihole/piholeNetworkFlush.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/piholeNetworkFlush.sh) |
85+
| Example Usage | [`pihole networkflush --arp`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#flushing-the-log) |
86+
87+
This command empties Pi-hole's network table. If the optional `--arp` is given, the ARP table will also be cleared.
88+
7889
### Repair
7990

8091
| | |

0 commit comments

Comments
 (0)