added time to prevent UDP reset

This commit is contained in:
0xdcarns
2022-02-03 09:51:16 -05:00
parent a693217feb
commit 06e2603c20
6 changed files with 27 additions and 42 deletions

View File

@@ -109,9 +109,9 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
}
if ncutils.IsLinux() {
_, err := exec.LookPath("resolvconf")
_, err := exec.LookPath("resolvectl")
if err != nil {
ncutils.PrintLog("resolvconf not present", 2)
ncutils.PrintLog("resolvectl not present", 2)
ncutils.PrintLog("unable to configure DNS automatically, disabling automated DNS management", 2)
cfg.Node.DNSOn = "no"
}