mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-12 09:50:47 +01:00
14 lines
220 B
Go
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))
|
|
}
|