Implement external lookups for CNAMEs

This commit is contained in:
Miek Gieben
2016-11-10 07:48:47 +00:00
parent 0919216d3c
commit d383f279a0
7 changed files with 39 additions and 16 deletions

View File

@@ -93,7 +93,7 @@ func TestLookupCNAMEExternal(t *testing.T) {
if err != nil {
t.Fatalf("Expected no error when reading zone, got %q", err)
}
zone.Proxy = proxy.New([]string{"8.8.8.8:53"}) // TODO(point to local instance)
zone.Proxy = proxy.New([]string{"8.8.8.8:53"}) // TODO(miek): point to local instance
fm := File{Next: test.ErrorHandler(), Zones: Zones{Z: map[string]*Zone{name: zone}, Names: []string{name}}}
ctx := context.TODO()