Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
383f12ee
Commit
383f12ee
authored
Aug 13, 2015
by
Fabian Reinartz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document new dns_sd_config options
parent
844ca270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
configuration.md
content/docs/operating/configuration.md
+8
-1
No files found.
content/docs/operating/configuration.md
View file @
383f12ee
...
@@ -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>`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment