mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
use dns entry in wireguard config file; checkin temporarily disabled til figure issue with dns on checkin
This commit is contained in:
@@ -83,9 +83,9 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
|
||||
}
|
||||
}
|
||||
if ncutils.IsLinux() {
|
||||
_, err := exec.LookPath("resolvectl")
|
||||
_, err := exec.LookPath("resolveconf")
|
||||
if err != nil {
|
||||
ncutils.PrintLog("resolvectl not present", 2)
|
||||
ncutils.PrintLog("resolveconf not present", 2)
|
||||
ncutils.PrintLog("unable to configure DNS automatically, disabling automated DNS management", 2)
|
||||
cfg.Node.DNSOn = "no"
|
||||
}
|
||||
|
Reference in New Issue
Block a user