Browse Source

force update default dns

abhishek9686 3 weeks ago
parent
commit
dea257fb5d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      migrate/migrate.go

+ 3 - 0
migrate/migrate.go

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