diff --git a/command/agent/dns_test.go b/command/agent/dns_test.go index 09281dbfb2..edd5ffe626 100644 --- a/command/agent/dns_test.go +++ b/command/agent/dns_test.go @@ -1039,7 +1039,7 @@ func TestDNS_ServiceLookup_ServiceAddress(t *testing.T) { if srvRec.Port != 12345 { t.Fatalf("Bad: %#v", srvRec) } - if srvRec.Target != "foo.node.dc1.consul." { + if srvRec.Target != "7f000002.addr.dc1.consul." { t.Fatalf("Bad: %#v", srvRec) } if srvRec.Hdr.Ttl != 0 { @@ -1050,7 +1050,7 @@ func TestDNS_ServiceLookup_ServiceAddress(t *testing.T) { if !ok { t.Fatalf("Bad: %#v", in.Extra[0]) } - if aRec.Hdr.Name != "foo.node.dc1.consul." { + if aRec.Hdr.Name != "7f000002.addr.dc1.consul." { t.Fatalf("Bad: %#v", in.Extra[0]) } if aRec.A.String() != "127.0.0.2" { @@ -1157,7 +1157,7 @@ func TestDNS_ServiceLookup_WanAddress(t *testing.T) { if !ok { t.Fatalf("Bad: %#v", in.Extra[0]) } - if aRec.Hdr.Name != "foo.node.dc2.consul." { + if aRec.Hdr.Name != "7f000002.addr.dc2.consul." { t.Fatalf("Bad: %#v", in.Extra[0]) } if aRec.A.String() != "127.0.0.2" { @@ -3193,7 +3193,7 @@ func TestDNS_PreparedQuery_Failover(t *testing.T) { if !ok { t.Fatalf("Bad: %#v", in.Answer[0]) } - if srv.Target != "foo.node.dc2.consul." { + if srv.Target != "7f000002.addr.dc2.consul." { t.Fatalf("Bad: %#v", in.Answer[0]) } @@ -3201,7 +3201,7 @@ func TestDNS_PreparedQuery_Failover(t *testing.T) { if !ok { t.Fatalf("Bad: %#v", in.Extra[0]) } - if a.Hdr.Name != "foo.node.dc2.consul." { + if a.Hdr.Name != "7f000002.addr.dc2.consul." { t.Fatalf("Bad: %#v", in.Extra[0]) } if a.A.String() != "127.0.0.2" {