Skip to content

Commit 8f083d4

Browse files
committed
Add regex_id field of the query table
Signed-off-by: DL6ER <[email protected]>
1 parent a6af0e7 commit 8f083d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/database/ftl.md

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Label | Type | Allowed to by empty | Content
5353
`reply_type` | integer | Yes | Type of the reply for this query (see [Supported reply types](ftl.md#supported-reply-types))
5454
`reply_time` | real | Yes | Seconds it took until the final reply was received
5555
`dnssec` | integer | Yes | Type of the DNSSEC status for this query (see [DNSSEC status](ftl.md#dnssec-status))
56+
`regex_id` | integer | Yes | ID of the regex filter that matched this query (only set if blocked by a regex filter)
5657

5758
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.
5859

0 commit comments

Comments
 (0)