aboutsummaryrefslogtreecommitdiff
path: root/plugin/cache/README.md
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2019-03-03 23:32:38 -0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-03-04 07:32:38 +0000
commit9dd288943a778c19d5a798e1c1535cd0ba5d53c0 (patch)
tree2f555f01f74f41c005f75aa5a27659d6c5133410 /plugin/cache/README.md
parentdfa413af096646e04882bb8312eef27fe1a160ef (diff)
downloadcoredns-9dd288943a778c19d5a798e1c1535cd0ba5d53c0.tar.gz
coredns-9dd288943a778c19d5a798e1c1535cd0ba5d53c0.tar.zst
coredns-9dd288943a778c19d5a798e1c1535cd0ba5d53c0.zip
Move *proxy* to external (#2651)
* Move *proxy* to external move the proxy plugin into coredns/proxy and remove it as a default plugin. Link the proxy to deprecated in plugin.cfg coredns/proxy doesn't compile because of the vendoring :( Signed-off-by: Miek Gieben <miek@miek.nl> * Add github.com/coredns/proxy Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'plugin/cache/README.md')
-rw-r--r--plugin/cache/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/cache/README.md b/plugin/cache/README.md
index 924a7543e..8b2bdf075 100644
--- a/plugin/cache/README.md
+++ b/plugin/cache/README.md
@@ -88,13 +88,14 @@ Proxy to Google Public DNS and only cache responses for example.org (or below).
~~~ corefile
. {
- proxy . 8.8.8.8:53
+ forward . 8.8.8.8:53
cache example.org
}
~~~
Enable caching for all zones, keep a positive cache size of 5000 and a negative cache size of 2500:
- ~~~ corefile
+
+~~~ corefile
. {
cache {
success 5000