diff options
author | 2019-09-19 14:17:53 +0100 | |
---|---|---|
committer | 2019-09-19 06:17:53 -0700 | |
commit | 62317c3c14e306e337f7aa0507a2245495c7aed2 (patch) | |
tree | 29a87e88a708ee790537d62cd8861806ca2ae9da /README.md | |
parent | 31299108ce374ce59ba6a3d7d16fde039ea47bc1 (diff) | |
download | coredns-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.md | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -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: |