From 610bdc091de5383e7a08633fa99b479b76c81402 Mon Sep 17 00:00:00 2001 From: Chris O'Haver Date: Thu, 23 Aug 2018 15:27:09 -0400 Subject: [PATCH] Add suffix example to docs (#2049) --- plugin/rewrite/README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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. ~~~