diff --git a/main.go b/main.go index ae8a266..47e8be7 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import ( func main() { fmt.Println("[app] [info] " + time.Now().Format(config.AppTimeFormat) + " kenaito-dns version = " + config.AppVersion) - go cache.ReloadCache() + cache.ReloadCache() go initDNSServer() initRestfulServer() }