diff --git a/control/udp.go b/control/udp.go index 264e842..67871a8 100644 --- a/control/udp.go +++ b/control/udp.go @@ -203,11 +203,12 @@ func (c *ControlPlane) handlePkt(data []byte, src, dst netip.AddrPort, outboundI continue } c.log.WithFields(logrus.Fields{ + "name": d.Name(), "latency": latency, "ver": ver, "proto": proto, "outbound": outbound.Name, - }).Debugln("Choose") + }).Debugln("Choice") if bestDialer == nil || latency < bestLatency { bestDialer = d bestLatency = latency diff --git a/example.dae b/example.dae index b295caa..3c45f7c 100644 --- a/example.dae +++ b/example.dae @@ -8,7 +8,7 @@ global { # Node connectivity check. # Url and dns should have both IPv4 and IPv6. tcp_check_url: 'http://cp.cloudflare.com' - udp_check_dns: 'cloudflare-dns.com:53' + udp_check_dns: 'dns.google:53' check_interval: 30s # Value can be scheme://host:port or empty string ''.