mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
Merge pull request #26 from pi-hole/tweak/blockingmode-IP-AAAA-NODATA
Add Pi-hole's IPv6 NODATA blocking description
This commit is contained in:
@@ -21,6 +21,30 @@ doubleclick.net. 2 IN AAAA fda2:2001:4756:0:ab27:beff:ef37:
|
||||
##### Advantage
|
||||
- Shows blocking page from which blocked webpages can be whitelisted
|
||||
|
||||
##### Disadvantages
|
||||
- Requires a webserver to run on your Pi-hole
|
||||
- May cause time-outs for HTTPS content even with properly configured firewall rules
|
||||
- May cause problems with alternating prefixes on IPv6 addresses (see `IP-AAAA-NODATA`)
|
||||
|
||||
## Pi-hole's IPv6 NODATA blocking
|
||||
`/etc/pihole/pihole-FTL.conf` setting:
|
||||
```
|
||||
BLOCKINGMODE=IP-NODATA-AAAA
|
||||
```
|
||||
|
||||
Queries will be answered with the local IPv4 addresses of your Pi-hole (as configured in your `setupVars.conf` file). AAAA queries will answered with `NODATA-IPV6` and clients will only try to reach your Pi-hole over your static IPv4 address
|
||||
```
|
||||
;; QUESTION SECTION:
|
||||
;doubleclick.net. IN ANY
|
||||
|
||||
;; ANSWER SECTION:
|
||||
doubleclick.net. 2 IN A 192.168.2.11
|
||||
```
|
||||
|
||||
##### Advantage
|
||||
- Shows blocking page from which blocked webpages can be whitelisted
|
||||
- Serves IPv4-only replies and hence mitigates issues with rotating IPv6 prefixes
|
||||
|
||||
##### Disadvantages
|
||||
- Requires a webserver to run on your Pi-hole
|
||||
- May cause time-outs for HTTPS content even with properly configured firewall rules
|
||||
|
||||
@@ -72,9 +72,9 @@ Which privacy level is used?
|
||||
Should `FTL` ignore queries coming from the local machine?
|
||||
|
||||
### BLOCKINGMODE
|
||||
`BLOCKINGMODE=IP|NXDOMAIN`
|
||||
`BLOCKINGMODE=IP|IP-AAAA-NODATA|NXDOMAIN|NULL`
|
||||
|
||||
Should `FTL` reply queries to blocked domains with IPs or `NXDOMAIN`?
|
||||
How should `FTL` reply to blocked queries?
|
||||
|
||||
**[More details](blockingmode.md)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user