fixes #2102
This commit is contained in:
1 parent
254be128b0
commit
8a305ee189
11 files changed
+37
-37
No files matched your search
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: Using Weavedns
|
||||
title: Using WeaveDNS
|
||||
layout: default
|
||||
---
|
||||
|
||||
@@ -10,7 +10,7 @@ the containers hostnames and then tell other containers to connect to those name
|
||||
Unlike Docker 'links', this requires no code changes and it works across
|
||||
hosts.
|
||||
|
||||
Weavedns is deployed as an embedded service within the Weave router.
|
||||
WeaveDNS is deployed as an embedded service within the Weave router.
|
||||
The service is automatically started when the router is launched:
|
||||
|
||||
```bash
|
||||
@@ -18,12 +18,12 @@ host1$ weave launch
|
||||
host1$ eval $(weave env)
|
||||
```
|
||||
|
||||
Weavedns related configuration arguments can be passed to `launch`.
|
||||
WeaveDNS related configuration arguments can be passed to `launch`.
|
||||
|
||||
Application containers use weavedns automatically if it is
|
||||
Application containers use weaveDNS automatically if it is
|
||||
running when they are started. They use it for name
|
||||
resolution, and will register themselves if they either have a
|
||||
hostname in the weavedns domain (`weave.local` by default) or are given an explicit container name:
|
||||
hostname in the weaveDNS domain (`weave.local` by default) or are given an explicit container name:
|
||||
|
||||
```bash
|
||||
host1$ docker run -dti --name=pingme ubuntu
|
||||
@@ -34,14 +34,14 @@ root@ubuntu:/# ping pingme
|
||||
|
||||
> **Note** If both hostname and container name are specified at
|
||||
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.
|
||||
the hostname is not in the weaveDNS domain, the container is *not*
|
||||
registered, but it will still use weaveDNS for resolution.
|
||||
|
||||
To disable an application container's use of weavedns, add the
|
||||
To disable an application container's use of weaveDNS, add the
|
||||
`--without-dns` option to `weave run` or `weave launch-proxy`. To
|
||||
disable weaveDNS itself, launch weave with the `--no-dns` option.
|
||||
|
||||
**See Also**
|
||||
|
||||
* [How Weave Finds Containers](/site/weave-docker-api/how-works-weavedns.md)
|
||||
* [Load Balancing and Fault Resilience with weavedns](/site/weave-docker-api/load-balance-fault-weavedns.md)
|
||||
* [Load Balancing and Fault Resilience with WeaveDNS](/site/weave-docker-api/load-balance-fault-weavedns.md)
|
||||
Reference in new issue
Block a user