aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2018-08-23 15:27:09 -0400
committerGravatar GitHub <noreply@github.com> 2018-08-23 15:27:09 -0400
commit610bdc091de5383e7a08633fa99b479b76c81402 (patch)
treeee27a6382df9131ea4a55ca2192157ea036f0b52
parented85986e7024fa3b248e0c78c95455090ee1bb5b (diff)
downloadcoredns-610bdc091de5383e7a08633fa99b479b76c81402.tar.gz
coredns-610bdc091de5383e7a08633fa99b479b76c81402.tar.zst
coredns-610bdc091de5383e7a08633fa99b479b76c81402.zip
Add suffix example to docs (#2049)
-rw-r--r--plugin/rewrite/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/rewrite/README.md b/plugin/rewrite/README.md
index 2856c748a..b432d0ca4 100644
--- a/plugin/rewrite/README.md
+++ b/plugin/rewrite/README.md
@@ -221,6 +221,12 @@ Examples:
rewrite edns0 local set 0xffee {client_ip}
~~~
+The following example rewrites the `schmoogle.com` suffix to `google.com`.
+
+~~~
+rewrite name suffix .schmoogle.com. .google.com.
+~~~
+
The following example uses metadata and an imaginary "some-plugin" that would provide "some-label" as metadata information.
~~~