Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes dns.only_passing easier to understand. #14700

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Makes dns.only_passing easier to understand.
  • Loading branch information
joshwolfer authored Sep 21, 2022
commit 173bc0e551f0643fd876b33d02d460599ba0abe5
12 changes: 5 additions & 7 deletions website/content/docs/agent/config/config-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1269,13 +1269,11 @@ Valid time units are 'ns', 'us' (or 'µs'), 'ms', 's', 'm', 'h'."
UDP response, will set the truncated flag, indicating to clients that they should
re-query using TCP to get the full set of records.

- `only_passing` - If set to true, any nodes whose
health checks are warning or critical will be excluded from DNS results. If false,
the default, only nodes whose health checks are failing as critical will be excluded.
For service lookups, the health checks of the node itself, as well as the service-specific
checks are considered. For example, if a node has a health check that is critical
then all services on that node will be excluded because they are also considered
critical.
- `only_passing` - (Defaults to `false`) Node / Service health status can be "passing", "warning", or
"critical".

When set to false, nodes whose health check status is "passing" or "warning" will be returned, but "critical" is ommitted.
If set to true, only nodes whose health check status is "passing" will be returned from DNS results.
joshwolfer marked this conversation as resolved.
Show resolved Hide resolved

- `recursor_strategy` - If set to `sequential`, Consul will query recursors in the
order listed in the [`recursors`](#recursors) option. If set to `random`,
Expand Down