From 18293a473bb8a73dab0190ded3b1ecd03c650cf3 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 4 Feb 2019 18:18:12 +0100 Subject: [PATCH] Add NODATA description Signed-off-by: DL6ER --- docs/ftldns/blockingmode.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/ftldns/blockingmode.md b/docs/ftldns/blockingmode.md index de6c68e..d5673ff 100644 --- a/docs/ftldns/blockingmode.md +++ b/docs/ftldns/blockingmode.md @@ -18,6 +18,8 @@ doubleclick.net. 2 IN A 0.0.0.0 doubleclick.net. 2 IN AAAA :: ``` +**This blocking mode is the Pi-hole developer's recommendation.** + Following [RFC 3513, Internet Protocol Version 6 (IPv6) Addressing Architecture, section 2.5.2](https://tools.ietf.org/html/rfc3513#section-2.5.2), the address `0:0:0:0:0:0:0:0` (or `::` for short) is the unspecified address. It must never be assigned to any node and indicates the absence of an address. Following [RFC1122, section 3.2](https://tools.ietf.org/html/rfc1122#section-3.2), the address `0.0.0.0` can be understood as the IPv4 equivalent of `::`. ##### Advantages @@ -92,4 +94,18 @@ Blocked queries will be answered with an empty response (no answer section) and ##### Advantages & Disadvantages Similar to `NULL` blocking, but experiments suggest that clients may try to resolve blocked domains more often compared to `NULL` blocking. +## Pi-hole's NODATA blocking +`/etc/pihole/pihole-FTL.conf` setting: +``` +BLOCKINGMODE=NODATA +``` +Blocked queries will be answered with an empty response (no answer section) and status `NODATA` (domain exists but there is no record for the requested query type) +``` +;; QUESTION SECTION: +;doubleclick.net. IN ANY +``` + +##### Advantages & Disadvantages +Similar to `NXDOMAIN` blocking while clients might have a better acceptance for `NODATA` compared to `NXDOMAIN`. + {!abbreviations.md!}