diff --git a/cmd/serve.go b/cmd/serve.go index 9f9885c..010426c 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -37,10 +37,11 @@ var serveCmd = &cobra.Command{ continue } - go h.DNSCheckLoop() break } + go h.DNSCheckLoop() + log.Fatalln(h.StartServer()) }, }