Server Cluster (7) DNSPod Pro Partition Analysis

This article has been included in the column of this site
Server Cluster Series

1. Advantages of Professional Edition

BUY LINK:

DNSPod Professional Edition DNS Resolution Special Offer
https://curl.qcloud.com/rmjxOR7h

DNSPod special price domain name as low as one yuan
https://curl.qcloud.com/6OUg4qt8

excerpt from

DNSPod Official Documentation
https://docs.dnspod.cn/dns/

Tencent-based analysis acceleration service

Tencent-based resolution acceleration service is a unique DNSPod resolution service that combines DNSPod resolution service and Tencent-based products. Once you use DNSPod resolution service to resolve your website and application, when users visit the website or application, it will immediately You can get a more extreme analysis experience in the Tencent product ecosystem.

For example, when a domain name is resolved by DNSPod, and the user group accesses the domain name in Tencent products, problems such as inaccurate resolution and high resolution delay can be reduced, and a better resolution experience can be obtained overall.

Global Anycast Service

DNSPod DNS resolution deploys Anycast technology globally, so that DNS queries are transferred to the DNS resolution network for processing instead of a specific resolver for query. Based on the shortest path optimization principle, the DNS resolution network distributes query requests to the closest available resolution nodes for resolution, and obtains resolution results in the fastest time, improving network access experience.

Based on the high availability of Anycast, the DNS resolution service will be more guaranteed. When any DNS resolver fails, other resolvers in the network node can still perform resolution queries. Easily deal with problems such as network congestion and DDoS attacks, and provide users with safe and stable analysis services.

DNSSEC service

DNSSEC, Domain Name System Security Extensions, Domain Name System Security Extensions (DNSSEC) is a feature of the Domain Name System (DNS) for digital signatures that determine the authenticity of source domain names. DNSSEC validates and secures DNS data, making it trustworthy in applications other than DNS. By deploying DNSSEC for domain names, it can benefit Internet security and strengthen the ability to respond to attacks. Effectively ensure that the data between Local DNS and authoritative DNS is not tampered by attacks, and ensure the authenticity and reliability of the resolution results.

Load Balancing Service

When your business is deployed in multiple IDCs, you can adjust it according to your needs, and distribute it to different server nodes according to the specified weight. Realize DNS resolution load balancing and easy traffic scheduling.

For each domain name resolution request, the DNS server will return the corresponding IP according to the corresponding resolution record. However, if A records with the same host record, record type, and line type are configured in the DNS server, the DNS server will calculate one of the IP addresses according to the load balancing algorithm and return it.

When faced with a large number of user access, high concurrent requests, and massive data, high-performance servers can be used to solve the problem. When the performance expansion capability of a single machine reaches the limit, it cannot be solved by improving server performance. At this time, it is necessary to consider business splitting and distributed deployment to solve the problems of large website visits, high concurrency, and massive data. Analysis load balancing can help you distribute analysis requests to different servers, reducing the processing volume of a single request.

Different packages can support different load balancing numbers:

PackageNumber of Load Balancers
Free Version2 Items
Professional Edition10 Articles
Enterprise Edition30 Items
Exclusive EditionUnlimited

Line Packet Service

Line grouping means that multiple lines can be defined as a group. When parsing, you can set the line to select this group, and all lines in the group will take effect.

If multiple lines are merged into one group (which can be understood as one line), set it as the analysis record of the group, and all the lines under the group will take effect. If the line group is configured as Baidu and google, then setting the resolution of this group is equivalent to setting 1 Baidu line and 1 google line at the same time. Help you solve problems such as difficult line management and distribution.

Different packages support different line groups:

PackageNumber of Line Groups
Free versionNot supported
Pro10
Enterprise Edition30
Exclusive EditionUnlimited

2, partition analysis

In the previous articles, we have deployed websites on each server, and now we need to resolve users in different regions to different nodes.

We will use the partition resolution function instead of the load balancing function. Although load balancing can also send traffic to different nodes, there are the following problems:

  1. There is no follow-up function: it may be assigned to different nodes each time, resulting in possible data delays
  2. Unable to determine the region: If users in mainland China are assigned to overseas nodes, the speed will not be faster, only slower.

Using partition parsing, I mainly divide it into the following parts:

Asia, Europe, Americas (North and South America), Oceania, Shield (Africa and Antarctica)

The reason is:

  • North America and Europe are important customer areas for advertising traffic, and the closest nodes can be allocated preferentially
  • South America and Oceania do not have a large number of search engines and users, so they are divided into North America (usually the United States) nodes
  • Asia is where we are located, preferably subdivided into China and other
  • Mainland China uses domestic nodes (if there is a record), which can be subdivided into South China, etc.
  • Hong Kong, Macau, Taiwan or other nodes that can use Hong Kong, Taiwan or Tokyo
  • Other regions are generally small countries, most of which are spam crawlers, DDoS bots and scanners, which can be blocked

First, log in to DNSPod, enter the console, and add resolution:

Add parsing

Select the line type to analyze by partition

by global continent

According to domestic regions

by search engine

My nodes are limited, so I simply divided them by continent.

Note: For continents to be shielded, add @analysis and *analysis, the host record is 0.0.0.0 or 127.0.0.1, and the TTL can be set larger, such as 3600.

The TTL in other regions should be as small as possible, such as: 120 seconds

3. Add D monitoring

Open the D monitoring console:

https://monitor.dnspod.cn

Add monitoring, select the domain name and subdomain name you want to monitor.

Note: For example, if you need to monitor blog.tsinbei.com, even if * analysis (pan analysis) is added, you need to add the analysis of blog records, otherwise it will not be displayed in the list.

Modify the monitoring settings after adding,

Monitor Settings

  • Monitoring nodes: The personal professional version only has 4 by default. If a node always prompts that it is down, you can try to switch it.
  • Monitoring frequency: 6 minutes or 10 minutes can be selected
  • Monitoring tasks: Attention! If it is an HTTPS website, be sure to modify it to HTTPS protocol, otherwise there will be a ridiculous access time, such as 50ms (normally 500ms)
  • Switch rule: It is recommended to set it to Switch to other available IP.

After completion, you can see the access time monitoring and downtime notification.

Server Cluster (7) DNSPod Pro Partition Analysis

https://blog.tsinbei.com/en/archives/633/

Author
Hsukqi Lee
Posted on

2022-12-06

Edited on

2023-05-21

Licensed under

CC BY-NC-ND 4.0

Comments

Name
Mail
Site
None yet