From a8c1832469148307b3cd0058b33eeca2102614e5 Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Fri, 12 Jun 2015 15:56:41 +0100 Subject: [PATCH] updating docs for new dns-search domain behaviour --- site/weavedns.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/site/weavedns.md b/site/weavedns.md index 7eda546e..37c4e589 100644 --- a/site/weavedns.md +++ b/site/weavedns.md @@ -225,9 +225,10 @@ weaveDNS instance will receive. If you don't supply a domain search path (with `--dns-search=`), `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` above -- since the hostname is `ubuntu.weave.local`, it will -look for `pingme.weave.local`. +`pingme`, in its own domain (or in `weave.local` if it has no domain). +That's why you can just invoke `ping pingme` above -- since the +hostname is `ubuntu.weave.local`, it will look for +`pingme.weave.local`. If you want to supply other entries for the domain search path, e.g. if you want containers in different sub-domains to resolve