How to realize the NS intelligent parsing and hands-on verification of Akamai for CDN implementation

Source: Internet
Author: User

1. What is NS intelligent parsing

In the CDN business, the Intelligent parsing domain name is given different a records according to the different IP of the requesting party.

NS Intelligent resolution, according to the different request-side IP, let him go to different NS to resolve the domain name, the NS to the user closer to the edge node to shorten the request time.

2. Why NS Intelligent Parsing is achieved

1. Shorten the request time

Process simplification for end-user domain name requests (regardless of cache): Domain name resolution, DNS-

The process of local DNS, client----is related to the operator, and DNS server processing performance and load is related to domain name resolution.

By selecting NS closer to local DNS, you can significantly reduce the time to authorize DNS, local DNS.

2. Increase the number of NS

You can see that the number of NS configured is actually limited, that is, the size that a message can carry.

The NS Intelligent resolution is used to realize the purpose of expanding NS, which can be extended to infinity theoretically.

3. Conditions for implementing NS intelligent parsing

1. Realize the intelligent resolution of the domain name

2. There are at least 2 zone

4. How to configure

Let's say 2 zones are a.com and b.net, respectively.

1. A.com Zone Modification

The a.com zone on-line service is

a.com NS ns1.a.com

a.com NS ns2.a.com

Ns1.a.com a 1.1.1.1

Ns2.a.com a 2.2.2.2

Modified to (the zone also to be authorized by the superior to synchronize changes)

a.com NS ns1.a.com

a.com NS ns2.a.com

a.com NS Ns1.b.net

a.com NS Ns2.b.net

Ns1.a.com a 1.1.1.1

Ns2.a.com a 2.2.2.2

2. b.NET Add intelligent resolution domain name

Add Intelligent resolution Domain name ns1.b.net and ns2.b.net (here the different A records are given according to the request IP, i.e. NS records)

The resolved a record is the IP address of the a.com NS.

5. Verifying Akamai's NS Intelligent resolution

Akamai.com equivalent to A.com

Akam.net equivalent to b.NET

1. Verification Step 1

akamai.com NS to akam.net.

2. Verification Step 2

The previous figure found the IP address of the a1-66.akam.net (obtained by parsing the akam.net zone)

The previous figure requested a akamai.com NS record for this IP, which shows that this device is an NS of akamai.com.

6. Simple Grooming

(The following is a personal understanding, there may be wrong place to hope that everyone to correct)

The previous NS are statically configured in zone, and are now resolved by resolving the domain name.

In order to trigger the parsing behavior, an additional zone domain NS is configured, allowing him to generate the domain name to parse a record.

This a record is the NS IP address for this request IP service.

How to realize the NS intelligent parsing and hands-on verification of Akamai for CDN implementation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.