Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to analyze the change of client IPv6 and IPv4 resolution policy

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article will explain in detail how to analyze client-side IPv6 and IPv4 parsing strategy changes. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

The details are as follows:

When AAAA record is set for sub-domain name branch line, but A record is not set, when recursive DNS requests A record, the resolution result is

Scene

Old strategy

New strategy

IPv4 client

No resolution

An A record that resolves to a low priority line, such as a default line

IPv6 client

Resolve to AAAA record

Resolve to AAAA record (no change)

Dual stack client

Resolve to AAAA record

Resolve to AAAA or A record, depending on the policy of the client and recursive DNS:

If you request AAAA records first, you will resolve to AAAA records, and if you request both AAAA and A records, you may resolve both.

1. Detailed description:

1) the old policy returns SOA records and does not return A records for low priority lines (such as default lines), which may cause some clients with pure IPv4 to fail to resolve.

2) the new policy will return the A record of the low priority line, such as setting the following record:

Www.a.com Foreign AAAA 11 Vol 11

Www.a.com default A 1.1.1.1

The old strategy can only resolve the AAAA record abroad, but not the A record; the foreign IPv4 environment of the new strategy can resolve to the A record of the default line.

2. If you need to keep the old strategy

If you still want to use the old policy and do not want the specified line to return the A record of the low priority line, you can set the specified line to the CNAME record in advance, and the domain name pointed to by the CNAME record can only set the AAAA record. Example:

Www.a.com default A 1.1.1.1

Www.a.com overseas CNAME v6.www.a.com

V6.www.a.com defaults to AAAA 11vvl 11

On how to analyze the client-side IPv6, IPv4 parsing strategy changes to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report