net.DefaultResolver.LookupIP search takes a long time

golang net.DefaultResolver.LookupIP search items takes a long time.

08:20:20.743156 IP 10.219.192.27.38061 > 10.235.128.5.53: 44798+ AAAA? perf-consist-server.perf-system.policy-perf.svc.cluster.local. (79)
08:20:20.744463 IP 10.235.128.5.53 > 10.219.192.27.38061: 44798 NXDomain*- 0/1/0 (172)
08:20:25.747656 IP 10.219.192.27.34446 > 10.235.128.5.53: 23043+ A? perf-consist-server.perf-system.policy-perf.svc.cluster.local. (79)
08:20:25.749002 IP 10.235.128.5.53 > 10.219.192.27.34446: 23043 NXDomain*- 0/1/0 (172)
08:20:25.749128 IP 10.219.192.27.40663 > 10.235.128.5.53: 33088+ AAAA? perf-consist-server.perf-system.svc.cluster.local. (67)
08:20:25.750310 IP 10.235.128.5.53 > 10.219.192.27.40663: 33088*- 0/1/0 (160)
08:20:30.753440 IP 10.219.192.27.50885 > 10.235.128.5.53: 17392+ A? perf-consist-server.perf-system.svc.cluster.local. (67)
08:20:30.754703 IP 10.235.128.5.53 > 10.219.192.27.50885: 17392*- 1/0/0 A 10.21.21.16 (132)

Have you confirmed that the issue isn’t with your DNS? How long does a command like nslookup take?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.