mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-07 09:53:58 +08:00
Chore: log dns server address when success
This commit is contained in:
parent
ee7af27712
commit
1b677b0c68
@ -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…
x
Reference in New Issue
Block a user