integration/dns: 8.8.8.8’s RDNS changed to dns.google.

This commit is contained in:
Michael Stapelberg 2019-07-01 08:55:10 +02:00
parent 373c83196d
commit fa91770b09

View File

@ -37,7 +37,7 @@ func TestDNS(t *testing.T) {
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)
} }
if got, want := strings.TrimSpace(string(out)), "google-public-dns-a.google.com."; got != want { if got, want := strings.TrimSpace(string(out)), "dns.google."; got != want {
t.Fatalf("dig -x 8.8.8.8: unexpected reply: got %q, want %q", got, want) t.Fatalf("dig -x 8.8.8.8: unexpected reply: got %q, want %q", got, want)
} }
} }