aboutsummaryrefslogtreecommitdiff
path: root/middleware/middleware.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/middleware.go')
-rw-r--r--middleware/middleware.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/middleware/middleware.go b/middleware/middleware.go
index 33990c1be..804209fa9 100644
--- a/middleware/middleware.go
+++ b/middleware/middleware.go
@@ -19,9 +19,13 @@ type (
//
// If ServeDNS writes to the response body, it should return a status
// code. If the status code is not one of the following:
+ //
// * SERVFAIL (dns.RcodeServerFailure)
+ //
// * REFUSED (dns.RecodeRefused)
+ //
// * FORMERR (dns.RcodeFormatError)
+ //
// * NOTIMP (dns.RcodeNotImplemented)
//
// CoreDNS assumes *no* reply has yet been written. All other response