middleware/etcd: reverse addresses (#162)

* middleware/etcd: reverse addresses

Implement reverse (PTR) addresses. Update the documentation on how to
configure test. Added tests as well.

Fixes: #157 #159

* Cleanup readme a little
This commit is contained in:
Miek Gieben 2016-06-08 10:29:46 +01:00
parent 3165084a7b
commit 713f10f6af
6 changed files with 79 additions and 5 deletions

View file

@ -37,7 +37,7 @@ func init() {
PathPrefix: "skydns",
Ctx: context.Background(),
Inflight: &singleflight.Group{},
Zones: []string{"skydns.test.", "skydns_extra.test."},
Zones: []string{"skydns.test.", "skydns_extra.test.", "in-addr.arpa."},
Client: etcdc.NewKeysAPI(cli),
}
}