diff options
author | 2021-02-23 09:12:58 +0000 | |
---|---|---|
committer | 2021-02-23 09:12:58 +0000 | |
commit | f9b98a1d063b4f9520252a2c65f41fa0eb1e6bc5 (patch) | |
tree | fcae517166c9b6064963506aaf5fd271b085e6c9 /plugin | |
parent | 01039312635d2577ec08f6f426fa395f0ccca392 (diff) | |
download | coredns-f9b98a1d063b4f9520252a2c65f41fa0eb1e6bc5.tar.gz coredns-f9b98a1d063b4f9520252a2c65f41fa0eb1e6bc5.tar.zst coredns-f9b98a1d063b4f9520252a2c65f41fa0eb1e6bc5.zip |
auto remove trailing whitespaces
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/rewrite/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugin/rewrite/README.md b/plugin/rewrite/README.md index 2eecf748e..1665d658a 100644 --- a/plugin/rewrite/README.md +++ b/plugin/rewrite/README.md @@ -151,15 +151,15 @@ ftp-us-west-1.coredns.rocks. 0 IN A 10.20.20.20 ftp-us-west-1.coredns.rocks. 0 IN A 10.30.30.30 ``` -It is also possible to rewrite other values returned in the DNS response records -(e.g. the server names returned in `SRV` and `MX` records). This can be enabled by adding -the `answer value` to a name regex rule as specified below. `answer value` takes a -regular expression and a rewrite name as parameters and works in the same way as the +It is also possible to rewrite other values returned in the DNS response records +(e.g. the server names returned in `SRV` and `MX` records). This can be enabled by adding +the `answer value` to a name regex rule as specified below. `answer value` takes a +regular expression and a rewrite name as parameters and works in the same way as the `answer name` rule. Note that names in the `AUTHORITY SECTION` and `ADDITIONAL SECTION` will also be rewritten following the specified rules. The names returned by the following -record types: `CNAME`, `DNAME`, `SOA`, `SRV`, `MX`, `NAPTR`, `NS` will be rewritten +record types: `CNAME`, `DNAME`, `SOA`, `SRV`, `MX`, `NAPTR`, `NS` will be rewritten if the `answer value` rule is specified. The syntax for the rewrite of DNS request and response is as follows: |