force update default dns

This commit is contained in:
abhishek9686 2025-10-10 18:44:39 +04:00
parent 593d754e47
commit dea257fb5d

View file

@ -352,6 +352,9 @@ func updateHosts() {
} else {
host.DNS = "no"
}
if host.IsDefault {
host.DNS = "yes"
}
logic.UpsertHost(&host)
}
if host.IsDefault && !host.AutoUpdate {