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
This commit is contained in:
Nguyen Quang Huy 2019-02-17 15:31:12 +07:00 committed by Miek Gieben
parent 871bce3a23
commit 8d09cb243f
9 changed files with 10 additions and 10 deletions

View file

@ -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)