aboutsummaryrefslogtreecommitdiff
path: root/core/coredns.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-01-06 09:42:30 +0000
committerGravatar GitHub <noreply@github.com> 2017-01-06 09:42:30 +0000
commit53ac25d1c327ea2c2924a2e90b510764be94319e (patch)
tree8947632ec5bba675818f2a33af0c0787b27416e8 /core/coredns.go
parent9a5e0c64fdbefc401f7476014c21700a5dbed454 (diff)
downloadcoredns-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/coredns.go')
-rw-r--r--core/coredns.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/coredns.go b/core/coredns.go
index c74f7b0a5..0ef1789b1 100644
--- a/core/coredns.go
+++ b/core/coredns.go
@@ -11,6 +11,7 @@ import (
_ "github.com/miekg/coredns/middleware/cache"
_ "github.com/miekg/coredns/middleware/chaos"
_ "github.com/miekg/coredns/middleware/dnssec"
+ _ "github.com/miekg/coredns/middleware/erratic"
_ "github.com/miekg/coredns/middleware/errors"
_ "github.com/miekg/coredns/middleware/etcd"
_ "github.com/miekg/coredns/middleware/file"