diff options
author | 2019-02-17 15:31:12 +0700 | |
---|---|---|
committer | 2019-02-17 08:31:12 +0000 | |
commit | 8d09cb243f09704c39609499c4d07f27e3e2e39c (patch) | |
tree | 1b818cbb6258386ebf5088e162012ab15791c969 /plugin/backend_lookup.go | |
parent | 871bce3a234bd0bb00f202bc44fd6a058fe667cb (diff) | |
download | coredns-8d09cb243f09704c39609499c4d07f27e3e2e39c.tar.gz coredns-8d09cb243f09704c39609499c4d07f27e3e2e39c.tar.zst coredns-8d09cb243f09704c39609499c4d07f27e3e2e39c.zip |
Fix some typos (#2560)
* Fix some typos
Corect some words for reading more easily
* Update NOERROR response code
NOERROR is a response code so I revert the typo checking for it
Diffstat (limited to 'plugin/backend_lookup.go')
-rw-r--r-- | plugin/backend_lookup.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/backend_lookup.go b/plugin/backend_lookup.go index 66550ad01..0649ccfa5 100644 --- a/plugin/backend_lookup.go +++ b/plugin/backend_lookup.go @@ -438,7 +438,7 @@ func newAddress(s msg.Service, name string, ip net.IP, what uint16) dns.RR { return &dns.AAAA{Hdr: hdr, AAAA: ip} } -// checkForApex checks the spcecial apex.dns directory for records that will be returned as A or AAAA. +// checkForApex checks the special apex.dns directory for records that will be returned as A or AAAA. func checkForApex(b ServiceBackend, zone string, state request.Request, opt Options) ([]msg.Service, error) { if state.Name() != zone { return b.Services(state, false, opt) |