[go-nuts] Re: Golang DNS lookup tracing

2025-05-09 Thread 'Brian Candler' via golang-nuts
I will just add: this is a very common problem with domains which return a very low TTL, and/or use funky dynamic responses like geo-load balancing. These companies think that it makes their infrastructure more reliable, because the short TTL allows them to change the address quickly if require

[go-nuts] Re: Golang DNS lookup tracing

2025-05-09 Thread 'Brian Candler' via golang-nuts
I suspect if you tcpdump/wireshark the DNS traffic, you'll find a query goes out, and either the response is delayed by 2 seconds, or no response is received and your client re-sends the request. To understand this, inside your pod you'll need to find out what your upstream DNS recursive server