From f5649b36d7722822a0d959960ee030168f79aec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Mon, 11 Jul 2022 22:17:04 +0200 Subject: [PATCH 1/2] Add missing columns of adlist table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- docs/database/gravity/index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/database/gravity/index.md b/docs/database/gravity/index.md index 3a5ce1f..081b8cf 100644 --- a/docs/database/gravity/index.md +++ b/docs/database/gravity/index.md @@ -31,6 +31,9 @@ Label | Type | Uniqueness enforced | Content `date_modified` | integer | No | Timestamp when domain was last modified, automatically updated when a record is changed `comment` | text | No | Optional field for arbitrary user comments `date_updated` | integer | No | Timestamp when this list has last been updated (`pihole -g` does **not** update this timestamp when the downloaded list did not change since the last `pihole -g` run) +`number` | integer | No | Number of domains on this list +`invalid_domains` | integer | No | Number of invalid domains on this list +`status` | integer | No | `1` = List download was successful, `2` = List unchanged upstream, Pi-hole used a local copy, `3` = List unavailable, Pi-hole used a local copy, `4` = List unavailable, there is no local copy of this list available on your Pi-hole ## Gravity Table (`gravity`) From 3a0fa4c823faadf9d2b1d2e3400397975931de9c Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Tue, 2 Aug 2022 18:35:51 +0200 Subject: [PATCH 2/2] Changed "ADDRESSS" to "ADDRESS" Signed-off-by: JeremyStarTM --- docs/ftldns/dnsmasq_warn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ftldns/dnsmasq_warn.md b/docs/ftldns/dnsmasq_warn.md index 6dcbfd3..896f877 100644 --- a/docs/ftldns/dnsmasq_warn.md +++ b/docs/ftldns/dnsmasq_warn.md @@ -177,7 +177,7 @@ Warnings commonly seen in `dnsmasq`'s log file (`/var/log/pihole/pihole.log`) an Same as above but for a port rather than an address. -!!! warning "LOUD WARNING: listening on `ADDRESSS` may accept requests via interfaces other than `IFNAME`" +!!! warning "LOUD WARNING: listening on `ADDRESS` may accept requests via interfaces other than `IFNAME`" When using `bind-interfaces`, the only access control is the addresses `dnsmasq` is listening on. There's nothing to avoid a query to the address of an internal interface arriving via an external interface where we don't want to accept queries, except that in the usual case the addresses of internal interfaces are RFC1918. When `bind-interfaces` in use, and we listen on an address that looks like it's probably globally routeable, this warning is printed.