aboutsummaryrefslogtreecommitdiff
path: root/middleware.cfg
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2017-08-18 14:45:20 +0100
committerGravatar GitHub <noreply@github.com> 2017-08-18 14:45:20 +0100
commitf96cf27193032120ba727316c4057dffed0cbe48 (patch)
treec76caa111aba281560a3b7db91953e307c06f1c9 /middleware.cfg
parentcc4e4a0626bf8881e2ae8b2c1e52e09c6308e74e (diff)
downloadcoredns-f96cf27193032120ba727316c4057dffed0cbe48.tar.gz
coredns-f96cf27193032120ba727316c4057dffed0cbe48.tar.zst
coredns-f96cf27193032120ba727316c4057dffed0cbe48.zip
mw/federation: add federation back as separate mw for k8s (#929)
* mw/federaration This PR add the federation back as a middleware to keep it more contained from the main kubernetes code. It also makes parseRequest less import and pushes this functionlity down in the k.Entries. This minimizes (or tries to) the importance for the qtype in the query. In the end the qtype checking should only happen in ServeDNS - but for k8s this might proof difficult. Numerous other cleanup in code and kubernetes tests. * up test coverage
Diffstat (limited to 'middleware.cfg')
-rw-r--r--middleware.cfg17
1 files changed, 9 insertions, 8 deletions
diff --git a/middleware.cfg b/middleware.cfg
index e97aafa47..ba2ef74ff 100644
--- a/middleware.cfg
+++ b/middleware.cfg
@@ -38,13 +38,14 @@
160:dnssec:dnssec
170:reverse:reverse
180:hosts:hosts
-190:kubernetes:kubernetes
-200:file:file
-210:auto:auto
-220:secondary:secondary
-230:etcd:etcd
-240:proxy:proxy
-250:erratic:erratic
-260:whoami:whoami
+190:federation:federation
+200:kubernetes:kubernetes
+210:file:file
+220:auto:auto
+230:secondary:secondary
+240:etcd:etcd
+250:proxy:proxy
+260:erratic:erratic
+270:whoami:whoami
500:startup:github.com/mholt/caddy/startupshutdown
510:shutdown:github.com/mholt/caddy/startupshutdown