trying to add DNS

This commit is contained in:
Pascal Fischer
2023-10-09 14:58:48 +02:00
parent 91b45eab98
commit 7f958e9338
16 changed files with 101 additions and 50 deletions
+5 -1
View File
@@ -271,7 +271,11 @@ func (e *Engine) Start() error {
e.acl = acl
}
err = e.dnsServer.Initialize()
if runtime.GOOS == "ios" {
err = e.dnsServer.Initialize(e.mobileDep.DnsManager)
} else {
err = e.dnsServer.Initialize(nil)
}
if err != nil {
e.close()
return err