From 65f945e7c2e3a314a1ff0a5ddf120caee12a31ad Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 8 Sep 2023 22:59:34 +0200 Subject: [PATCH] Add regex_id field of the query table Signed-off-by: DL6ER --- docs/database/ftl.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/database/ftl.md b/docs/database/ftl.md index 2171013..57cf03e 100644 --- a/docs/database/ftl.md +++ b/docs/database/ftl.md @@ -53,6 +53,7 @@ Label | Type | Allowed to by empty | Content `reply_type` | integer | Yes | Type of the reply for this query (see [Supported reply types](ftl.md#supported-reply-types)) `reply_time` | real | Yes | Seconds it took until the final reply was received `dnssec` | integer | Yes | Type of the DNSSEC status for this query (see [DNSSEC status](ftl.md#dnssec-status)) +`regex_id` | integer | Yes | ID of the regex filter that matched this query (only set if blocked by a regex filter) The `queries` `VIEW` is dynamically generated from the data actually stored in the `query_storage` table and the linking tables `domain_by_id`, `client_by_id`, `forward_by_id`, and `addinfo_by_id` (see below). The table `query_storage` will contains integer IDs pointing to the respective entries of the linking tables to save space and make searching the database faster. If you haven't upgraded for some time, the table may still contain strings instead of integer IDs.