This commit is contained in:
afeiszli
2021-07-28 02:23:20 +00:00
parent 60ef0e80b7
commit 12c4fa33f5
13 changed files with 208 additions and 19 deletions

View File

@@ -267,6 +267,7 @@ func InitWireguard(node *nodepb.Node, privkey string, peers []wgtypes.PeerConfig
}
}
//=========DNS Setup==========\\
log.Println("NODECFG.DNS:",nodecfg.DNS)
if nodecfg.DNS == "on" {
_ = local.UpdateDNS(ifacename, network, nameserver)
}