netbird/client/internal/routemanager/dynamic/route_generic.go
2024-08-02 18:43:00 +02:00

14 lines
220 B
Go

//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))
}