Add Stub resolving

SkyDNS can forward requests from one instance to another.
Add this base infrastructure for this feature to CoreDNS.

Add more tests as well.
This commit is contained in:
Miek Gieben
2016-03-24 08:22:24 +00:00
parent 163e5d8e71
commit 78d2e31ec1
6 changed files with 380 additions and 241 deletions

View File

@@ -17,7 +17,7 @@ import (
type Etcd struct {
Next middleware.Handler
Zones []string
Proxy proxy.Proxy
Proxy proxy.Proxy // Proxy for looking up names during the resolution process
Client etcdc.KeysAPI
Ctx context.Context
Inflight *singleflight.Group