Add etcd middleware
This middleware acts in the same way as SkyDNS. We might add options
to allow it to be behave different, but for now it will suffice.
A Corefile like:
.:1053 {
etcd miek.nl
proxy . 8.8.8.8:53
}
will perform lookup in etcd and proxy everything not miek.nl to Google
for further resolution.
The internal etcd forwarding *also* uses the proxy infrastructure,
meaning you get health check and such for (almost) free
Showing
core/setup/etcd.go
0 → 100644
middleware/etcd/TODO
deleted
100644 → 0
middleware/etcd/etcd.go
0 → 100644
middleware/etcd/etcd.md
0 → 100644
middleware/etcd/handler.go
0 → 100644
middleware/etcd/lookup.go
0 → 100644
This diff is collapsed.
middleware/etcd/path.go
0 → 100644
middleware/etcd/path_test.go
0 → 100644
middleware/proxy/lookup.go
0 → 100644
Please register or sign in to comment