aboutsummaryrefslogtreecommitdiff
path: root/middleware.md
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-03-19 20:53:37 +0000
committerGravatar Miek Gieben <miek@miek.nl> 2016-03-19 20:53:37 +0000
commit47fca9a8fca06ae44df835168afad9b118c13303 (patch)
tree62768f35bb7a487bac675cc06fc1d970f8ebf64b /middleware.md
parentec84cb127092abf14937b5979bdb15ee2814cbeb (diff)
downloadcoredns-47fca9a8fca06ae44df835168afad9b118c13303.tar.gz
coredns-47fca9a8fca06ae44df835168afad9b118c13303.tar.zst
coredns-47fca9a8fca06ae44df835168afad9b118c13303.zip
Proxy cleanups
Remove things not supported, fix docs.
Diffstat (limited to 'middleware.md')
-rw-r--r--middleware.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/middleware.md b/middleware.md
index 323eb15f5..d6e82bcfd 100644
--- a/middleware.md
+++ b/middleware.md
@@ -17,6 +17,12 @@ From the Caddy docs:
In the DNS status codes are called rcodes and it's slightly harder to return the correct
answer in case of failure.
-So CoreDNS treats only SERVFAIL (dns.RcodeServerFailure) as special and will then assume
-nothing has written to the client. In all other cases it is assume something has been written
-to the client.
+So CoreDNS treats
+
+* SERVFAIL (dns.RcodeServerFailure)
+* REFUSED (dns.RecodeRefused)
+* FORMERR (dns.RcodeFormatError)
+* NOTIMP (dns.RcodeNotImplemented)
+
+as special and will then assume nothing has written to the client. In all other cases it is assume
+something has been written to the client.