netbird/client/internal/routemanager/dynamic/route_generic.go

14 lines
220 B
Go
Raw Normal View History

//go:build !ios
package dynamic
import (
"net"
"github.com/netbirdio/netbird/management/domain"
)
func (r *Route) getIPsFromResolver(domain domain.Domain) ([]net.IP, error) {
return net.LookupIP(string(domain))
}