Site icon GetPageSpeed

Choose the right DNS Nameservers for faster website performance

Once you’ve chosen the proper VPS or dedicated server for your website, it’s time to think of the DNS hosting. You have to decide which DNS nameservers would you use.

What you want from DNS nameservers is primarily two things: reliability and DNS lookups speed. The former will make sure your website is up and accessible in the first place. The latter will make sure that DNS information (and thus, website access) is fast to the website visitors.

Do you stay with your domain registrar’s DNS nameservers?
Should you switch to the DNS nameservers provided by your VPS company?
Or you would use something different.

Recommended DNS nameservers

Short and quick answers for our lazy readers:

Long answers follow. To get the proper answers we need proper tools to measure DNS performance.

Use VPS or dedicated server company nameservers? No.

As part of our GetPageSpeed propaganda here, we advice you to abandon shared hosting and use VPS or dedicated servers. Our provider of choice is Vultr. It’s best in performance and pricing. We will use it as reference model to all DNS nameservers provided by server hosting companies.

The DNS management within your hosting environment surely sounds convenient for these reasons:

But this is where the benefits end. We found that DNS management by Vultr is unreliable.

You don’t have to trust our words on all of this. We run a test on a domain which was using Vultr nameservers and we got the following warnings in IntoDNS checks:

  • WARNING: Not all of your nameservers are in different subnets
  • WARNING: Single point of failure
  • Your SOA serial number is: 1456491480. This can be ok if you know what you are doing.

We measured the speed of lookups for further reference and comparison to other DNS nameservers:

Vultr DNS lookups speed

This just about confirms one thing that is common to all VPS providers. DNS management is just a minor selling point for them. They are not best with DNS. It’s just not their thing. They wouldn’t bother with perfecting it. It will be in “more or less working” state and that’s it.

Let’s try our next option.

Use domain registrar’s DNS nameservers? No.

The domain registrars vary greatly in the DNS management level that they offer. Same to VPS companies, the DNS management is not their major selling point and they would rather invest in making sure you buy the domain with them in the first place. The speed and reliability of their nameservers are not a priority for each of them. So it differs from one registrar to another.

If any nameservers we would advise to use from those, are the ones provided by Namecheap. It doesn’t provide much speed to your DNS lookups, but it’s worth considering for the number of features.

You can either transfer your domain to them (and most likely have a cheaper cost for your domain). Or use their Free DNS service by simply pointing to their nameservers at your current registrar.

The specific benefits of NameCheap as a DNS registrar and their nameservers include:

The speed is not at its best though:

NameCheap DNS lookups speed

We have not run into any configuration errors of NameCheap servers while testing with IntoDNS.

Meet free Hurricane Electric DNS

Yes, it’s free and it’s one of the best in speed, reliability, and DNS management level.

Hurricane Electric DNS lookups speed

Fast, reliable due to 5 geographically dispersed nameservers. And no configuration errors reported by IntoDNS.

Not much to say about a free service which is nearly flawless. Just Recommended.

Update from 13 Nov 2017 I have stumbled many times on severe initial trouble with Hurricane Electric. The DNS delegation to their nameservers is not without downtime. They do not create a zone on their servers until the delegation is found. And since they are caching delegation check results, the situation worsens further! Be aware of this when you switch your DNS to it and look into CloudFlare as a no-downtime alternative.

CloudFlare

Cloudflare is very easy to setup. They will scan your DNS records so this removes the extra hassle of re-adding those. Note that not all DNS records are automatically found by Cloudflare. They scan for the most common ones, so double-check that they’ve picked up everything and add missing ones manually.

CloudFlare gives not the best results for MX entries for some reason. However, resolution of A records is on par with Hurricane Electric. So it can be advised as a no-downtime switch alternative:

CloudFlare DNS Speed

Meet DNSMadeEasy

If you want the speed of Hurricane Electric charged with many additional DNS features and have the extra money in your pocket, we advise on using DNSMadeEasy. While it’s not free, it will make sure that the ultimate feeling of completeness for using the notorious DNS service which made their nameservers work more reliable than any others.

No issues reported with IntoDNS. Speed test:

DNSMadeEasy DNS lookup speeds

One of the major services they provide is DNS IP failover. It is more targeted for mission-critical web apps.

The service will detect if your website is down and switch its DNS A record automatically to the IP of your “backup” server. That implies you have the budget for having 2 servers running in perfect sync at the same time, ideally using different hosting companies for each server.

Exit mobile version