nws/netstr/dns.go

14 lines
242 B
Go
Raw Normal View History

2024-07-22 21:00:21 +00:00
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
}