mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
Address @Yubiusers review comments
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -60,6 +60,8 @@ doubleclick.net. 2 IN A 192.168.1.42
|
||||
|
||||
In `IP` mode, blocked queries will be answered with the local IP addresses of your Pi-hole. To set this mode explicitly, run `pihole-FTL --config dns.blocking.mode IP`.
|
||||
|
||||
The IP that is returned is automatically determined by FTL, however it can also be set with `reply.blocking.IPv4` and `reply.blocking.IPv6` FTL options.
|
||||
|
||||
A blocked query would look like the following:
|
||||
|
||||
```
|
||||
|
||||
@@ -11,7 +11,7 @@ Pi-hole makes use of many commands, and here we will break down those required t
|
||||
| Feature | Invocation |
|
||||
| -------------- | -------------- |
|
||||
| [Core](#core-script) | `pihole` |
|
||||
| [Allowlisting, Denylisting and Regex](#allowlisting-denylisting-and-regex) | `pihole allow`, `pihole deny`, `pihole --regex`, `pihole --wild` |
|
||||
| [Allowlisting, Denylisting and Regex](#allowlisting-denylisting-and-regex) | `pihole allow`, `pihole deny`, `pihole --regex`, `pihole --wild`, `pihole --allow-regex`, `pihole --allow-wild` |
|
||||
| [Debugger](#debugger) | `pihole debug` |
|
||||
| [Log Flush](#log-flush) | `pihole flush` |
|
||||
| [Reconfigure](#reconfigure) | `pihole reconfigure` |
|
||||
@@ -41,7 +41,7 @@ The core script of Pi-hole provides the ability to tie many DNS related function
|
||||
|
||||
| | |
|
||||
| -------------- | -------------- |
|
||||
| Help Command | `pihole allow --help`, `pihole deny --help`, `pihole --regex --help`, `pihole --wild --help` |
|
||||
| Help Command | `pihole allow --help`, `pihole deny --help`, `pihole --regex --help`, `pihole --wild --help`, `pihole --allow-regex --help`, `pihole --allow-wild --help` |
|
||||
| Script Location | [`/opt/pihole/list.sh`](https://github.com/pi-hole/pi-hole/blob/master/advanced/Scripts/list.sh) |
|
||||
| Example Usage | [`pihole --regex '^example.com$' '.*\.example2.net'`](https://discourse.pi-hole.net/t/the-pihole-command-with-examples/738#white-black-list) |
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ Valid options are:
|
||||
- `;reply=nxdomain` ("no such domain" will be provided, can cause unintended side-effects)
|
||||
- `;reply=refused` (the query will be refused)
|
||||
- `;reply=none` (the query will be silently dropped)
|
||||
- `;reply=ip` (the Pi-hole's IP address if not overwritten by configuration)
|
||||
- `;reply=ip` (the Pi-hole's IP address if not overwritten by configuration options: `reply.blocking.IPv4`/`reply.blocking.IPv6`)
|
||||
- `;reply=1.2.3.4` (any valid IPv4 address)
|
||||
- `;reply=fe80::1234` (any valid IPv6 address)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user