diff --git a/hub/executor/executor.go b/hub/executor/executor.go index fb6372e3..116b0dd8 100644 --- a/hub/executor/executor.go +++ b/hub/executor/executor.go @@ -55,7 +55,9 @@ func updateDNS(c *config.DNS) { EnhancedMode: c.EnhancedMode, }) T.Instance().SetResolver(r) - dns.ReCreateServer(c.Listen, r) + if err := dns.ReCreateServer(c.Listen, r); err != nil { + log.Errorln("Start DNS server error: %s", err.Error()) + } } func updateProxies(proxies map[string]C.Proxy) {