The depth of a dns traversal can have a significant influence on the total time taken to satisfy a dns query. Mismatching the tld extension and available name server names can exacerbate any existing problems.
The example below arose from a forum discussion of the purported performance benefits of anycast dns. As it turns out, the dns traversal was shown to be the real culprit. The content below is a reformatted version of the original forum discussion.
The claim was:
Third party dns traversal tools showed the following results:
vtunnel Asking a.root-servers.net (188.8.131.52) for vtunnel.com (type A) Asking a.gtld-servers.net (184.108.40.206) for vtunnel.com (type A) Asking ns0.dnsmadeeasy.com (220.127.116.11) for vtunnel.com (type A) ktunnel Asking a.root-servers.net (18.104.22.168) for ktunnel.com (type A) Asking a.gtld-servers.net (22.214.171.124) for ktunnel.com (type A) Asking a.root-servers.net (126.96.36.199) for ns1.freeproxies.org (type A) Asking a0.org.afilias-nst.info (188.8.131.52) for ns1.freeproxies.org (type A) Asking ns1.freeproxies.org (184.108.40.206) for ns1.freeproxies.org (type A) Asking ns1.freeproxies.org (220.127.116.11) for ktunnel.com (type A)
In plain language, the difference lays in the doubling of the number of queries due to dns traversal problems.
ktunnel is hobbled as compared to vtunnel because a lookup for ktunnel.com requires three extra lookup as compared to vtunnel.com. Looking up ktunnel requires *double* the number of lookups. No wonder it looks slower.
These extra lookups are caused by the fact that the name servers for ktunnel are at freeproxies.org. In that scenario, an initial query at the root servers will yield a referral to the name servers, but without glue records. The querying server then has to query three extra times. Once for .org, once for freeproxies.org and once to confirm the glue. Couple this with the fact that of all the generic tld's, the .org parents are the slowest, and it is predictable that ktunnel lookups will be slower than vtunnel lookups.
As ktunnel is a .com, the best thing you can do to remedy the situation is to move them to name servers that are themselves in a .com or .net tld. This is because the .com and .net parent servers are common and will return glue for name servers with either tld. That will cut the dns traversal in half, from 6 queries to 3 queries. Just like for vtunnel.
Our users don't get hit with this problem because the control panel contains recommendations on which name server series to use with which tld. Every recommendation has been checked by hand.