Update file config.md

update bad grammar, describe things better
This commit is contained in:
Yegor Sak
2025-02-14 03:59:08 +00:00
committed by Cuong Manh Le
parent 0123ca44fb
commit 619b6e7516

View File

@@ -166,7 +166,6 @@ before serving the query.
### max_concurrent_requests
The number of concurrent requests that will be handled, must be a non-negative integer.
Tweaking this value depends on the capacity of your system.
- Type: number
- Required: no
@@ -253,9 +252,7 @@ Specifying the `ip` and `port` of the Prometheus metrics server. The Prometheus
- Default: ""
### dns_watchdog_enabled
Checking DNS changes to network interfaces and reverting to ctrld's own settings.
The DNS watchdog process only runs on Windows and MacOS, while in `--cd` mode.
Watches all physical interfaces for DNS changes and reverts them to ctrld's settings.The DNS watchdog process only runs on Windows and MacOS.
- Type: boolean
- Required: no
@@ -274,7 +271,7 @@ If the time duration is non-positive, default value will be used.
- Default: 20s
### refetch_time
Time in seconds between each iteration that reloads custom config if changed.
Time in seconds between each iteration that reloads custom config from the API.
The value must be a positive number, any invalid value will be ignored and default value will be used.
- Type: number
@@ -282,7 +279,7 @@ The value must be a positive number, any invalid value will be ignored and defau
- Default: 3600
### leak_on_upstream_failure
Once ctrld is "offline", mean ctrld could not connect to any upstream, next queries will be leaked to OS resolver.
If a remote upstream fails to resolve a query or is unreachable, `ctrld` will forward the queries to the default DNS resolver on the network. If failures persist, `ctrld` will remove itself from all networking interfaces until connectivity is restored.
- Type: boolean
- Required: no