Chore: log dns server address when success
This commit is contained in:
parent
b594cbc68d
commit
1016355ef6
1 changed files with 2 additions and 0 deletions
|
@ -57,7 +57,9 @@ func updateDNS(c *config.DNS) {
|
||||||
T.Instance().SetResolver(r)
|
T.Instance().SetResolver(r)
|
||||||
if err := dns.ReCreateServer(c.Listen, r); err != nil {
|
if err := dns.ReCreateServer(c.Listen, r); err != nil {
|
||||||
log.Errorln("Start DNS server error: %s", err.Error())
|
log.Errorln("Start DNS server error: %s", err.Error())
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
log.Infoln("DNS server listening at: %s", c.Listen)
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateProxies(proxies map[string]C.Proxy) {
|
func updateProxies(proxies map[string]C.Proxy) {
|
||||||
|
|
Loading…
Reference in a new issue