

























Recently DNSPod’s resolver server was down for a while, causing many DNSPod users’ websites to be inaccessible. This article will recommend several international GeoDNS services that provide 100% SLA and can be used to replace the unstable DNSPod. And describe ways to use multiple DNS providers to improve service availability.
This article includes a comprehensive comparison of Azure DNS, NS1, Constellix.
The three DNS recommended this time are all international service providers that support GeoDNS, and all support Anycast. Among them, the speed of Azure DNS and NS1 is very good in China. It is a direct route to Hong Kong/Asia. The average delay can be within 50ms, which is not inferior to domestic DNS service providers. The international speeds of these three companies are extremely fast, and they can kill domestic providers such as DNSPod, CloudXNS, and Alibaba Cloud Analytics.
Regarding GeoDNS, Constellix has the best granularity: it supports countries, provinces, cities (including Chinese provinces and cities), and even AS numbers (which can be resolved by operator) and IP segments. NS1 supports countries and states in the United States, as well as AS numbers and IP segments. As for Azure DNS, by using Traffic Manager, countries, states in some countries, and IP segments can be supported. Since all IP segments are supported, GeoDNS with arbitrary precision is theoretically supported.
As for the price, NS1 provides a free quota (500k requests per month), which is enough for low-traffic websites, but once this free quota is exceeded, the charges are very high: $8/million requests . In comparison, both Azure DNS and Constellix are cheap, with Constellix starting at $5/month.
It is possible to use multiple DNS service providers at the same time, as long as the DNS records of the service providers remain the same. This requires the service provider used to be able to configure the NS record for the primary domain name (recommended but not required). The Azure DNS, NS1, Constellix introduced this time, as well as the previously introduced Route 53, Google Cloud DNS, Rage4, and Alibaba Cloud DNS can configure the NS record of the primary domain name (where Alibaba Cloud DNS and Azure DNS can only add the first 3rd party records; several others can fully customize NS records). However, Cloudflare and domestic DNSPod, CloudXNS, and Alibaba Cloud DNS cannot configure NS records under the primary domain name, which means that you cannot mix DNS well.
To use multiple DNS, there are two implementation methods: the master and slave method and the two master method. After completing the configuration, configure multiple NS servers to authoritative NS records and NS lists under the domain name registrar.
Using two service providers will increase the difficulty of configuration, but can improve the stability of the DNS service. such as the recent DNSPod outage and Dyn outage in 2016 causes many websites to become inaccessible because many websites use only one DNS provider. If multiple DNS providers are used, the website will only become inaccessible if all of the providers used are down, which is obviously very unlikely.
To configure this way, the secondary provider needs to support fetching records from the primary provider using AXFR, and the primary provider also needs to support AXFR transfers. Among them, both NS1 and Constellix can be used as the main service provider or the secondary service provider, which means that you can use these two at the same time, and choose any one as the primary service provider and the other as the secondary service provider.
You can also use two primary service providers and keep all records (including NS records under the primary domain) the same (recommended, but not required). It is recommended to synchronize the SOA’s serial number as well.
The domain name github.com. uses both Route 53 and DYN services. This can be verified using the dig tool.
1 | $ dig github.com ns +short |
After inspection, the same records are also configured in the two DNS service providers.
1 | $ dig @ns1.p16.dynect.net.github.com a +short |
Let’s take a look at these three DNS providers one by one.
List of all DNS evaluations (also includes CloudXNS, Route 53, Cloudflare, Google Cloud DNS, Rage4, and Alibaba Cloud DNS)
DNS service under the Microsoft Azure product line. It uses Anycast technology and can be directly connected to Hong Kong/Asia nodes in China, so the speed is very fast.
It is worth noting that, similar to Route 53, the four servers allocated by Azure use different network segments and different circuits, which may have higher availability.
Note: The partition resolution of Azure’s DNS may not be compatible with IPv6, which means that the resolution result may be Fallback to the default line.
NS1 also uses Anycast technology, and can be directly connected to Hong Kong/Asia nodes in China, so the speed is very fast.
This DNS, known for its GeoDNS advantages, uses Anycast to guarantee the lowest latency.
Constellix has three groups of six DNS servers, each using a slightly different line.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。