updating docs for new dns-search domain behaviour
This commit is contained in:
1 parent
2c3baa9119
commit
a8c1832469
1 file changed
+4
-3
+4
-3
@@ -225,9 +225,10 @@ weaveDNS instance will receive.
|
|||||||
|
|
||||||
If you don't supply a domain search path (with `--dns-search=`),
|
If you don't supply a domain search path (with `--dns-search=`),
|
||||||
`weave run ...` tells a container to look for "bare" hostnames, like
|
`weave run ...` tells a container to look for "bare" hostnames, like
|
||||||
`pingme`, in its own domain. That's why you can just invoke `ping
|
`pingme`, in its own domain (or in `weave.local` if it has no domain).
|
||||||
pingme` above -- since the hostname is `ubuntu.weave.local`, it will
|
That's why you can just invoke `ping pingme` above -- since the
|
||||||
look for `pingme.weave.local`.
|
hostname is `ubuntu.weave.local`, it will look for
|
||||||
|
`pingme.weave.local`.
|
||||||
|
|
||||||
If you want to supply other entries for the domain search path,
|
If you want to supply other entries for the domain search path,
|
||||||
e.g. if you want containers in different sub-domains to resolve
|
e.g. if you want containers in different sub-domains to resolve
|
||||||
|
|||||||
Reference in new issue
Block a user