mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Add suffix example to docs (#2049)
This commit is contained in:
@@ -221,6 +221,12 @@ Examples:
|
|||||||
rewrite edns0 local set 0xffee {client_ip}
|
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.
|
The following example uses metadata and an imaginary "some-plugin" that would provide "some-label" as metadata information.
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
|||||||
Reference in New Issue
Block a user