Added the dns_config option enable_truncate to the docs.

This commit is contained in:
Alex Wheeler 2014-09-30 15:31:28 -04:00
parent 6cac440a8d
commit bb613cf467
1 changed files with 4 additions and 0 deletions

View File

@ -266,6 +266,10 @@ definitions support being updated during a reload.
there is no specific policy available for a service. By default, all services are served there is no specific policy available for a service. By default, all services are served
with a 0 TTL value. Setting this enables DNS caching. with a 0 TTL value. Setting this enables DNS caching.
* `enable_truncate` - If set to true, a UDP DNS query that would return more than 3 records
will set the truncated flag, indicating to clients that they should re-query using TCP to
get the full set of records.
* `domain` - By default, Consul responds to DNS queries in the "consul." domain. * `domain` - By default, Consul responds to DNS queries in the "consul." domain.
This flag can be used to change that domain. All queries in this domain are assumed This flag can be used to change that domain. All queries in this domain are assumed
to be handled by Consul, and will not be recursively resolved. to be handled by Consul, and will not be recursively resolved.