diff options
author | 2016-03-22 22:44:50 +0000 | |
---|---|---|
committer | 2016-03-22 22:44:50 +0000 | |
commit | 8c707c803134c36c67d6deb2f6ac4929ee83256e (patch) | |
tree | 3d3dc33efdfdd1db387806668b6d3e81074059b4 /middleware/etcd/handler.go | |
parent | a6c3719bd8af03ca908dd5da77d5a017afd76834 (diff) | |
download | coredns-8c707c803134c36c67d6deb2f6ac4929ee83256e.tar.gz coredns-8c707c803134c36c67d6deb2f6ac4929ee83256e.tar.zst coredns-8c707c803134c36c67d6deb2f6ac4929ee83256e.zip |
more
Diffstat (limited to 'middleware/etcd/handler.go')
-rw-r--r-- | middleware/etcd/handler.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/middleware/etcd/handler.go b/middleware/etcd/handler.go index 95f60c18e..cad0519ba 100644 --- a/middleware/etcd/handler.go +++ b/middleware/etcd/handler.go @@ -2,6 +2,7 @@ package etcd import ( "github.com/miekg/coredns/middleware" + "github.com/miekg/dns" "golang.org/x/net/context" ) @@ -35,6 +36,9 @@ func (e Etcd) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (i case "SRV": records, extra, err = e.SRV(zone, state) default: + // For SOA and NS we might still want this + // and use dns.<zones> as the name to put these + // also for stub // rwrite and return // Nodata response // also catch other types, so that they return NODATA |