diff --git a/proxy/lookup_test.go b/proxy/lookup_test.go index d54db5798..c74fa5ce8 100644 --- a/proxy/lookup_test.go +++ b/proxy/lookup_test.go @@ -1,6 +1,7 @@ package proxy import ( + "context" "net/netip" "testing" @@ -28,7 +29,7 @@ func TestLookupIPAddr(t *testing.T) { require.NoError(t, err) // Now let's try doing some lookups. - addrs, err := p.LookupIPAddr("dns.google") + addrs, err := p.LookupNetIP(context.Background(), "", "dns.google") require.NoError(t, err) require.NotEmpty(t, addrs)