Enable DNSSEC for Aliyun Domain to Prevent DNS Hijacking
While using Cloudflare daily, I found the free DNSSEC under DNS was not enabled. How can that be? Let’s first see what DNSSEC is.
Domain Name System Security Extensions (DNSSEC) add reliable digital signatures to domain name DNS to verify the source domain and help prevent attacks such as cache poisoning, domain spoofing, and interception. So of course, this should be enabled for the domain bobobk.com.
Enabling DNSSEC mainly involves two parts:
The first part is enabling DNSSEC on Cloudflare to obtain the DS record information that needs to be set.
The second part is adding the DS record information provided by Cloudflare to the domain registrar.
Step 1: Enable DNSSEC on Cloudflare
Open the DNS settings, find DNSSEC, and enable it.

Step 2: Add DS Record in Domain Registrar
Since the domain was purchased on Aliyun, add the record there. If using other registrars, refer to Cloudflare support for detailed instructions.
First, log into the Aliyun console, find your domain, and go to management.

Add the DS record. The following settings appear:

The first items map directly to the values shown by Cloudflare:
- “Key Tag” corresponds to Cloudflare’s “Key Tag”
- “Algorithm” corresponds to Cloudflare’s “Algorithm”
- “Digest Type” corresponds to Cloudflare’s “Digest Type”
- “Digest” corresponds to Cloudflare’s “Digest”
In practice, the safest approach is to copy the Key Tag, Algorithm, Digest Type, and Digest values exactly as Cloudflare shows them when you create the DS record at the registrar. Do not try to reformat or guess any of those fields.
After setup, the change usually propagates within a few minutes to a few tens of minutes.
You can check whether DNSSEC is enabled using https://dnssec-analyzer.verisignlabs.com, or verify it locally from the command line:
dig +dnssec bobobk.com
dig DS bobobk.com

Checking this site’s DNSSEC status, you can see it has been successfully enabled.
The important part of DNSSEC setup is not complexity, but consistency: the DS record values shown by Cloudflare must match what you enter at the registrar exactly. After that, a quick
digcheck or online validator is usually enough to confirm the setup.
- 原文作者:春江暮客
- 原文链接:https://www.bobobk.com/en/444.html
- 版权声明:本作品采用 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 进行许可,非商业转载请注明出处(作者,原文链接),商业转载请联系作者获得授权。