Limit the number of answers we provide to users.

This commit is contained in:
Alvaro Saurin committed 2015-05-27 14:54:29 +02:00
1 parent 2d919d0a5f
commit 954c5cb394
6 files changed
+70 -11

No files matched your search

+6 -4
View File
@@ -44,10 +44,9 @@ $ docker attach $shell1
```
Note that it is permissible to register multiple containers with the
same name. weaveDNS picks one address to return when asked for the
name. Since weaveDNS removes any container that dies, this is a simple
way to implement redundancy. In the current implementation it does
not attempt to do load-balancing.
same name: weaveDNS picks one address at random on each request. Since
weaveDNS removes any container that dies, this is a simple way to
implement redundancy.
Each weaveDNS container started with `launch-dns` needs to be given
its own, unique, IP address, in a subnet that is a) common to all
@@ -103,6 +102,9 @@ The inverse operation can be carried out using the `dns-remove` command:
$ weave dns-remove 10.2.1.27 $shell2
```
When queried about a name with multiple IPs, weaveDNS returns a random
result from the set of IPs available.
## <a name="hot-swapping"></a>Hot-swapping service containers
If you would like to deploy a new version of a service, keep the old