Add more tests and include the forgotten chaos_test.go as well

This commit is contained in:
Miek Gieben 2016-03-25 10:32:12 +00:00
parent b3a52c6988
commit e408c81a8c
7 changed files with 372 additions and 5 deletions

View file

@ -37,8 +37,8 @@ func addStubEdns0(m *dns.Msg) *dns.Msg {
return m
}
// Look in .../dns/stub/<domain>/xx for msg.Services. Loop through them
// extract <domain> and add them as forwarders (ip:port-combos) for
// Look in .../dns/stub/<zone>/xx for msg.Services. Loop through them
// extract <zone> and add them as forwarders (ip:port-combos) for
// the stub zones. Only numeric (i.e. IP address) hosts are used.
// TODO(miek): makes this Startup Function.
func (e Etcd) UpdateStubZones(zone string) error {