Skip to content

Commit

Permalink
fix(docs): update hostsFile to use "sources"
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkChaos committed Dec 6, 2023
1 parent b2fa627 commit 2db0bd9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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/).
Expand Down

0 comments on commit 2db0bd9

Please sign in to comment.