mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-29 19:43:57 +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))
|
||
|
}
|