diff --git a/internal/dnsproxy/proxy_test.go b/internal/dnsproxy/proxy_test.go index b58dc765..b3a14326 100644 --- a/internal/dnsproxy/proxy_test.go +++ b/internal/dnsproxy/proxy_test.go @@ -81,17 +81,4 @@ func TestDNSProxy_Lookup(t *testing.T) { t.Fatal("expected response, got nil") } }) - - t.Run("Cache miss", func(t *testing.T) { - msg := new(dns.Msg) - msg.SetQuestion("example.com.", dns.TypeA) - - resp, err := proxy.Lookup(msg) - if err == nil { - t.Fatal("expected error, got nil") - } - if resp != nil { - t.Fatal("expected nil response, got non-nil") - } - }) }