Commit 383f12ee authored by Fabian Reinartz's avatar Fabian Reinartz

Document new dns_sd_config options

parent 844ca270
...@@ -174,7 +174,7 @@ number. ...@@ -174,7 +174,7 @@ number.
### DNS-SD configurations `<dns_sd_config>` ### DNS-SD configurations `<dns_sd_config>`
A DNS-SD configuration allows specifying a set of DNS SRV record names which A DNS-SD configuration allows specifying a set of DNS record names which
are periodically queried to discover a list of targets (host-port pairs). The are periodically queried to discover a list of targets (host-port pairs). The
DNS servers to be contacted are read from `/etc/resolv.conf`. DNS servers to be contacted are read from `/etc/resolv.conf`.
...@@ -187,11 +187,18 @@ record name that produced the discovered target. ...@@ -187,11 +187,18 @@ record name that produced the discovered target.
names: names:
[ - <record_name> ] [ - <record_name> ]
# The type of DNS query to perform.
[ type: <query_type> | default = 'SRV' ]
# The port number used if the query type is not SRV.
[ port: <number>]
# The time after which the provided names are refreshed. # The time after which the provided names are refreshed.
[ refresh_interval: <duration> | default = 30s ] [ refresh_interval: <duration> | default = 30s ]
``` ```
Where `<record_name>` is any DNS SRV record name. Where `<record_name>` is any DNS SRV record name.
Where `<query_type>` is `SRV`, `A`, or `AAAA`.
### Consul SD configurations `<consul_sd_config>` ### Consul SD configurations `<consul_sd_config>`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment