mirror of
https://github.com/gravitl/netmaker.git
synced 2026-02-04 18:18:56 +08:00
force update default dns
This commit is contained in:
parent
593d754e47
commit
dea257fb5d
1 changed files with 3 additions and 0 deletions
|
|
@ -352,6 +352,9 @@ func updateHosts() {
|
|||
} else {
|
||||
host.DNS = "no"
|
||||
}
|
||||
if host.IsDefault {
|
||||
host.DNS = "yes"
|
||||
}
|
||||
logic.UpsertHost(&host)
|
||||
}
|
||||
if host.IsDefault && !host.AutoUpdate {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue