2 ms·
Nice article, I wish everyone, especially my devops guys, would learn to use dig. It's a lifesaver. On tracing > So it’ll make about 20 DNS queries Not sure
by silisili 5y ago
Nice article, I wish everyone, especially my devops guys, would learn to use dig. It's a lifesaver.
On tracing
> So it’ll make about 20 DNS queries
Not sure about this part. Most domains will hit root, tld, x.tlds nameservers, and maybe one more. Most traces should only be 3 to 5 queries.
- istjohn 5y agoMaybe she just edited it, but actually it's 30 DNS queries. 26 of them are to the 13 root nameservers. > So it’ll make about 30 DNS queries. (I checked using tcpdump, it seems to make 2 queries to get A/AAAA records for each of the root nameservers so that’s already 26 queries. I’m not really sure why it does this because it should already have those IPs hardcoded, but it does.)
- silisili 5y agoInteresting! Just tested and saw the same. I had no idea it did that, and to be honest, also have no idea why it does. Thanks for the update.