aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2019-09-19 14:17:53 +0100
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2019-09-19 06:17:53 -0700
commit62317c3c14e306e337f7aa0507a2245495c7aed2 (patch)
tree29a87e88a708ee790537d62cd8861806ca2ae9da /README.md
parent31299108ce374ce59ba6a3d7d16fde039ea47bc1 (diff)
downloadcoredns-62317c3c14e306e337f7aa0507a2245495c7aed2.tar.gz
coredns-62317c3c14e306e337f7aa0507a2245495c7aed2.tar.zst
coredns-62317c3c14e306e337f7aa0507a2245495c7aed2.zip
update doc to not use the root zone for everything (#3288)
Update all documentation in the tree to use example.org as an example configuration (in so far possible). As to get out of the just use "." and fallthrough and things would be fine. Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 13 insertions, 7 deletions
diff --git a/README.md b/README.md
index d2508c830..72f2ef2c9 100644
--- a/README.md
+++ b/README.md
@@ -82,8 +82,11 @@ When starting CoreDNS without any configuration, it loads the
~~~ txt
.:53
-2016/09/18 09:20:50 [INFO] CoreDNS-001
-CoreDNS-001
+ ______ ____ _ _______
+ / ____/___ ________ / __ \/ | / / ___/ ~ CoreDNS-1.6.3
+ / / / __ \/ ___/ _ \/ / / / |/ /\__ \ ~ linux/amd64, go1.13,
+/ /___/ /_/ / / / __/ /_/ / /| /___/ /
+\____/\____/_/ \___/_____/_/ |_//____/
~~~
Any query sent to port 53 should return some information; your sending address, port and protocol
@@ -128,17 +131,20 @@ Serve `example.org` on port 1053, but forward everything that does *not* match `
recursive nameserver *and* rewrite ANY queries to HINFO.
~~~ txt
-.:1053 {
- rewrite ANY HINFO
- forward . 8.8.8.8:53
-
- file /var/lib/coredns/example.org.signed example.org {
+example.org:1053 {
+ file /var/lib/coredns/example.org.signed {
transfer to *
transfer to 2001:500:8f::53
}
errors
log
}
+. {
+ any
+ forward . 8.8.8.8:53
+ errors
+ log
+}
~~~
IP addresses are also allowed. They are automatically converted to reverse zones: