diff options
Diffstat (limited to 'plugin/rewrite')
-rw-r--r-- | plugin/rewrite/README.md | 2 | ||||
-rw-r--r-- | plugin/rewrite/cname_target.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/rewrite/README.md b/plugin/rewrite/README.md index ef938e79d..f9826cf22 100644 --- a/plugin/rewrite/README.md +++ b/plugin/rewrite/README.md @@ -407,7 +407,7 @@ rewrite edns0 subnet set 24 56 * If the query's source IP address is an IPv6 address, the first 56 bits in the IP will be the network subnet. -### CNAME Feild Rewrites +### CNAME Field Rewrites There might be a scenario where you want the `CNAME` target of the response to be rewritten. You can do this by using the `CNAME` field rewrite. This will generate new answer records according to the new `CNAME` target. diff --git a/plugin/rewrite/cname_target.go b/plugin/rewrite/cname_target.go index c7d93e8a7..068f17fdd 100644 --- a/plugin/rewrite/cname_target.go +++ b/plugin/rewrite/cname_target.go @@ -88,7 +88,7 @@ func (r *cnameTargetRule) RewriteResponse(res *dns.Msg, rr dns.RR) { newAnswer = append(newAnswer, rr) } } - // iterate over upstream response recieved + // iterate over upstream response received for _, rr := range upRes.Answer { if rr.Header().Name == toTarget { newAnswer = append(newAnswer, rr) |