Accelerating first time DNS resolution

The first time a domain is queried (most often by an ISP’s recursive DNS resolver), an extra lookup must be performed to learn which nameserver to use. For most domains, this isn’t much of a concern. However, for those that do want to reduce this initial lookup time, DNScaster offers an innovative feature to accelerate first time resolution by avoiding this extra lookup.

The extra lookup is performed by quering the TLD (top-level domain) nameservers for information about the desired domain. For example, the nameservers for .com are queried for information about

While TLD nameservers always return a list of nameservers for the queried domain, they will also return the IP addresses of those nameservers if those nameservers belong to the same TLD and are configured as vanity names (technically, if they’re added as glue records). Including these IP addresses saves an extra lookup, which accelerates the first time lookup of your domain.

For example, if’s nameserver is, the nameserver IP will never be included because the domain is .com but the nameserver is .org. If uses itself for the vanity name, the IP will be included. But what about if’s nameserver is In this case it depends on whether has a glue record or not. DNScaster always creates these glue records, so the IP will be included.

To solve the case of differing TLDs and IP addresses not being included, DNScaster makes it easy to configure multiple vanity names for a single set of nameservers. The ideal scenario is to configure one vanity name per TLD. This is the minimum possible configuration to successfully accelerate first time DNS lookups for all your domains.

Let’s take a look at what this configuration might look like. First, let’s assume we have several domains spread across the .com, .net, and .io TLDs. In this case, we’ll need 3 vanity names configured for our nameserver set, one for each TLD:

Domain Vanity Name Domain’s NS Naming ns[1-3] Vanity: ns[1-3] ns[1-3] Vanity: ns[1-3] ns[1-3] Vanity: ns[1-3]

Configure each of these like any other vanity name.

Next, make sure each remaining domain is assigned to its TLD-matching vanity name:

Domain NS Naming Vanity: ns[1-3] Vanity: ns[1-3] Vanity: ns[1-3] Vanity: ns[1-3]

If you have domains on a TLD that doesn’t need to be accelerated (perhaps it’s for internal use only), those domains can be assigned to any vanity name.