diff options
author | 2018-09-17 16:41:38 -0400 | |
---|---|---|
committer | 2018-09-17 16:41:38 -0400 | |
commit | 2f1223c36a0294cd07e299aaa792a0b3f51f687a (patch) | |
tree | cf42c3cd3587a1c5d7350dda025bc5e1c4f27e0a /plugin | |
parent | 153bd5f76769dbbb2b772d05dc4d04a04e3f75f6 (diff) | |
download | coredns-2f1223c36a0294cd07e299aaa792a0b3f51f687a.tar.gz coredns-2f1223c36a0294cd07e299aaa792a0b3f51f687a.tar.zst coredns-2f1223c36a0294cd07e299aaa792a0b3f51f687a.zip |
Move suffix example out of EDNS0 section (#2102)
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/rewrite/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugin/rewrite/README.md b/plugin/rewrite/README.md index c276fb9b0..d72f6f930 100644 --- a/plugin/rewrite/README.md +++ b/plugin/rewrite/README.md @@ -85,6 +85,12 @@ Thus: * Incoming Request Name: `ftp-us-west-1.example.org` * Re-written Request Name: `ftp.service.us-west-1.consul` +The following example rewrites the `schmoogle.com` suffix to `google.com`. + +~~~ +rewrite name suffix .schmoogle.com. .google.com. +~~~ + ### Response Rewrites When re-writing incoming DNS requests' names, CoreDNS re-writes the `QUESTION SECTION` @@ -249,12 +255,6 @@ 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. ~~~ |