Skip to content

Commit

Permalink
Add documentation for new dns cache parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Gilles committed Feb 20, 2019
1 parent 3ec3d91 commit 2f8d5cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions website/source/docs/agent/options.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,12 @@ default will automatically work with some tooling.
Configures the Retry duration expressed in seconds, default value is
600, ie: 10 minutes.
* <a name="dns_use_cache"></a><a href="dns_use_cache">`use_cache`</a> - When set to true, DNS resolution will use the agent cache described
in [agent caching](/api/index.html#agent-caching). This setting affects all service and prepared queries DNS requests. Implies [`allow_stale`](#allow_stale)
* <a name="dns_cache_max_age"></a><a href="dns_cache_max_age">`dns_max_age`</a> - When [use_cache](#dns_use_cache) is enabled, the agent
will attempt to re-fetch the result from the servers if the cached value is older than this duration. See: [agent caching](/api/index.html#agent-caching).
* <a name="domain"></a><a href="#domain">`domain`</a> Equivalent to the
[`-domain` command-line flag](#_domain).
Expand Down

0 comments on commit 2f8d5cb

Please sign in to comment.