Fetch DNS listen address from daemon
instead of assuming it's on the Docker bridge Also move DNS address validation into NewDNSServer(), so we only do it once.
This commit is contained in:
1 parent
00623be8a7
commit
b0274e11be
5 files changed
+27
-9
No files matched your search
@@ -39,6 +39,10 @@ the same time, the hostname takes precedence. In this circumstance, if
|
||||
the hostname is not in the weaveDNS domain, the container is *not*
|
||||
registered, but it will still use weaveDNS for resolution.
|
||||
|
||||
By default, weaveDNS will listen on port 53 on the address of the
|
||||
Docker bridge. To make it listen on a different address or port use
|
||||
`weave launch --dns-listen-address <address>:<port>`
|
||||
|
||||
To disable an application container's use of weaveDNS, add the
|
||||
`--without-dns` option to `weave launch`. To
|
||||
disable weaveDNS itself, launch weave with the `--no-dns` option.
|
||||
|
||||
Reference in new issue
Block a user