A Complete Performance Breakdown of 22.214.171.124: Cloudflare's Public DNS Resolver
In this post, the testers at Catchpoint put Cloudflare's new DNS resolver's claim as the fastest on the market to the test.
Join the DZone community and get the full member experience.Join For Free
i have always been a huge fan of external dns resolvers such as opendns and google public dns resolvers. i truly believe that they do improve the online customer experience since most isps do either a poor job at managing their dns or they do dns rewrites. cloudflare recently launched their own dns service, 126.96.36.199, which it claims to be "performance friendly," so we decided to put this claim to test. but before i dive into the verdict, let us understand what dns resolvers are and why public dns resolvers matter.
dns resolvers form the backbone of the internet—the 411 of the internet, allowing humans to type friendly domains in their browsers and land in the right location. if dns resolution fails it feels we are back in the stone age. performance bottlenecks at the dns level can have a direct impact on application(s) performance and ultimately will impact the end-user experience.
in a traditional networking environment, the user's isp provides the dns resolver which, in most cases, is not optimized for speed or performance. isps are not particularly concerned about the performance of dns resolvers they provide, and this has pushed the case for public dns resolvers. as with any other service, public dns resolvers have their own set of pros and cons. users switching to a public dns resolver usually cite the following reasons:
- performance issues - outages and latency.
- reliability and security - these are additional features that are offered by default with such services. the public dns resolvers are touted to be more reliable with dns filtering that makes it more secure.
- geolocation - isps may not have a network architecture that is configured to select the optimum dns resolver based on the user's location.
cloudflare's new release is a welcome addition to the existing set of easy-to-remember public resolvers. but what makes this even more interesting is the claim that it is the fastest (approximately 14ms!). being in the digital experience monitoring industry, i just had to put together the exact facts and figures and see for myself if this was true.
we set up tests using catchpoint's dns direct solution and pointed our nodes (backbone, broadband, last mile and wireless) to 188.8.131.52 and requested for www.google.com . once the tests were run, we used geometric mean to aggregate and analyze the data.
- "184.108.40.206" refers to cloudflare's solution
- "220.127.116.11" refers to google's solution
- "18.104.22.168" refers to opendns's solution
let's start the analysis with the data from the backbone nodes. globally, the performance has been on par with what was announced by cloudflare!
we break the data down by percentiles and the numbers are consistent: cloudflare's averages are skewed by the fact that their services are not available in some countries (more later).
grouping the data by country:
further breakdown by uptime and country:
a few countries stand out from the data breakdown—peru, palestine, morocco and egypt are not able to access 22.214.171.124. for example, when we try to reach "https://126.96.36.199" from morocco, it displays the following message:
let's break this down even further by isp/country:
has latency been addressed?
proximity to the end user is important when trying to cut down latency in the dns resolution process and the catchpoint traceroute tests prove that cloudflare has taken this into account.
tracing route to 188.8.131.52 [184.108.40.206] over a maximum of 30 hops:
1 1 ms 1 ms 2 ms 220.127.116.11 2 1 ms <1 ms <1 ms 18.104.22.168 3 4 ms 4 ms 4 ms 22.214.171.124
performance from last mile
breakdown by percentiles:
breakdown by country:
uptime by city:
performance over wireless
public dns services can be a boon over wireless networks which can cause latency and degrade dns performance. let’s look at the data from our wireless nodes.
breakdown by uptime and city:
breakdown by carrier performance:
breakdown by isp uptime:
cloudflare is fast! and our data proves it.
however, because 126.96.36.199 and 188.8.131.52 were reserved for research purposes, we strongly recommend you check your equipment's manufacturers and with your isps or your corporate networking team before enabling the service.
if you do enable 184.108.40.206, be sure to monitor closely. if you're not already a catchpoint customer, you can trial our dns monitoring solution .
Published at DZone with permission of Mehdi Daoudi, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.