aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/plugin.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugin/plugin.go b/plugin/plugin.go
index 4a4448f62..7995cbba8 100644
--- a/plugin/plugin.go
+++ b/plugin/plugin.go
@@ -21,7 +21,8 @@ type (
// and/or error.
//
// If ServeDNS writes to the response body, it should return a status
- // code. If the status code is not one of the following:
+ // code. CoreDNS assumes *no* reply has yet been written if the status
+ // code is one of the following:
//
// * SERVFAIL (dns.RcodeServerFailure)
//
@@ -31,9 +32,9 @@ type (
//
// * NOTIMP (dns.RcodeNotImplemented)
//
- // CoreDNS assumes *no* reply has yet been written. All other response
- // codes signal other handlers above it that the response message is
- // already written, and that they should not write to it also.
+ // All other response codes signal other handlers above it that the
+ // response message is already written, and that they should not write
+ // to it also.
//
// If ServeDNS encounters an error, it should return the error value
// so it can be logged by designated error-handling plugin.