diff options
author | 2017-01-06 09:42:30 +0000 | |
---|---|---|
committer | 2017-01-06 09:42:30 +0000 | |
commit | 53ac25d1c327ea2c2924a2e90b510764be94319e (patch) | |
tree | 8947632ec5bba675818f2a33af0c0787b27416e8 /core/dnsserver/directives.go | |
parent | 9a5e0c64fdbefc401f7476014c21700a5dbed454 (diff) | |
download | coredns-53ac25d1c327ea2c2924a2e90b510764be94319e.tar.gz coredns-53ac25d1c327ea2c2924a2e90b510764be94319e.tar.zst coredns-53ac25d1c327ea2c2924a2e90b510764be94319e.zip |
Add middleware/erratic (#471)
This middleware allows playing with responses. Only one type is
implemented: it allows you to drop queries. I.e. withhold the response
from the client.
Diffstat (limited to 'core/dnsserver/directives.go')
-rw-r--r-- | core/dnsserver/directives.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dnsserver/directives.go b/core/dnsserver/directives.go index 35e01b692..4d80331b8 100644 --- a/core/dnsserver/directives.go +++ b/core/dnsserver/directives.go @@ -96,4 +96,5 @@ var directives = []string{ "proxy", "httpproxy", "whoami", + "erratic", } |