

Pihole -regex '^$' '.*\.'Īdministrators need to be able to manually add and remove domains for various purposes, and these commands serve that purpose. Pihole -w -help, pihole -b -help, pihole -regex -help, pihole -wild -help This "wrapper" elevates the current user (whether it be your own user account, or www-data) using sudo, but restricts the elevation to solely what can be called through the wrapper.

For both the Command-line Interface (CLI) and Web Interface, we achieve this through the pihole command (this helps minimize code duplication, and allows users to read exactly what's happening using bash scripting). The core script of Pi-hole provides the ability to tie many DNS related functions into a simple and user-friendly management system, so that one may easily block unwanted content such as advertisements. Pihole -w, pihole -b, pihole -regex, pihole -wild Pi-hole makes use of many commands, and here we will break down those required to administer the program via the command-line Interface. Optional: Dual operation: LAN & VPN at the same time
