mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
12 lines
256 B
Go
12 lines
256 B
Go
package node
|
|
|
|
import (
|
|
config "github.com/ipfs/go-ipfs-config"
|
|
madns "github.com/multiformats/go-multiaddr-dns"
|
|
)
|
|
|
|
func DNSResolver(cfg *config.Config) (*madns.Resolver, error) {
|
|
// TODO custom resolvers from config
|
|
return madns.DefaultResolver, nil
|
|
}
|