From 2db0bd9c6b0ab17d84f27a62e962ea6bc75b79ff Mon Sep 17 00:00:00 2001 From: ThinkChaos Date: Sun, 3 Dec 2023 14:58:48 -0500 Subject: [PATCH] fix(docs): update `hostsFile` to use "sources" --- docs/configuration.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 88abe4817..09eeadbee 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -706,10 +706,11 @@ Configuration parameters: | Parameter | Type | Mandatory | Default value | Description | | ------------------------ | ------------------------------ | --------- | ------------- | ----------------------------------------------- | -| hostsFile.filePath | string | no | | Path to hosts file (e.g. /etc/hosts on Linux) | +| hostsFile.sources | list of string | no | | Host files (e.g. /etc/hosts on Linux) | | hostsFile.hostsTTL | duration (no units is minutes) | no | 1h | TTL | | hostsFile.refreshPeriod | duration format | no | 1h | Time between hosts file refresh | | hostsFile.filterLoopback | bool | no | false | Filter loopback addresses (127.0.0.0/8 and ::1) | +| hostsFile.loading | | no | | See [Sources Loading](#sources-loading) | !!! example @@ -718,8 +719,11 @@ Configuration parameters: filePath: /etc/hosts hostsTTL: 1h refreshPeriod: 30m + loading: + strategy: fast ``` + ## Deliver EDE codes as EDNS0 option DNS responses can be extended with EDE codes according to [RFC8914](https://datatracker.ietf.org/doc/rfc8914/).