Fix DNS resolution for routes on iOS (#2378)

This commit is contained in:
pascal-fischer
2024-08-02 18:43:00 +02:00
committed by GitHub
parent 727a4f0753
commit 501fd93e47
8 changed files with 124 additions and 37 deletions

View File

@ -0,0 +1,13 @@
//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))
}