nws/netstr/dns.go
2024-07-22 23:00:21 +02:00

14 lines
242 B
Go

package netstr
import (
"context"
"net"
)
// NostrDNS does not resolve anything
type NostrDNS struct{}
func (d NostrDNS) Resolve(ctx context.Context, name string) (context.Context, net.IP, error) {
return ctx, net.IP{0, 0, 0, 0}, nil
}