All Products
Search
Document Center

Alibaba Cloud DNS:FAQ about Alibaba Cloud Public DNS

Last Updated:Apr 08, 2024

This topic provides answers to frequently asked questions about Alibaba Cloud Public DNS.

Q1: Which HTTP versions does Alibaba Cloud Public DNS support?

A: Alibaba Cloud Public DNS supports HTTP/1.1 and HTTP/2.

Q2: Does the JSON API for DNS over HTTPS (DoH) of Alibaba Cloud Public DNS support Chinese domain names?

A: No, Chinese domain names cannot be passed by using the name parameter of the JSON API for DoH. Clients must use Punycode to convert Chinese domain names into ASCII domain names.

Q3: If DNS over TLS (DoT) is enabled for Alibaba Cloud Public DNS, can an IP address be used as the host in a URI?

A: Only IPv4 addresses can be used as the host in a URI. IPv6 addresses cannot pass certificate verification.

Q4: How do I disable Alibaba Cloud Public DNS in the Alibaba Cloud DNS console?

A: If you are using Alibaba Cloud Public DNS Free Edition, you can replace the IP address of the DNS server on your terminal with another IP address to disable the service.

If you are using Alibaba Cloud Public DNS Commercial Edition that is activated on the Public DNS page of the Alibaba Cloud DNS console, disable the service based on the following rules:

- If you activate Alibaba Cloud Public DNS Commercial Edition in public preview, perform no operations within 15 days after the public preview period ends. Then, the service is automatically disabled.

- If you activate Alibaba Cloud Public DNS Commercial Edition after the public preview period ends, you can disable the service on the Billing Data tab of the Public DNS page in the Alibaba Cloud DNS console.

Q5: Does Alibaba Cloud Public DNS support DNS Security Extensions (DNSSEC)?

A: No, DNSSEC is not enabled on Alibaba Cloud Public DNS.

Q6: Can I use Alibaba Cloud Public DNS outside the Chinese mainland?

A: Alibaba Cloud Public DNS can be accessed by using anycast IP addresses worldwide. This allows you to access the nearest service clusters anywhere in the world.

Q7: Does Alibaba Cloud Public DNS support Anti-DDoS?

A: Yes, the Anti-DDoS feature is provided for all users.

Q8: What do I need to take note of when I call the JSON API for DoH of Alibaba Cloud Public DNS in cross-origin resource sharing (CORS) mode?

A: Set credentials to same-origin, which is the default value. Do not specify custom request headers.

Sample code:

// You can leave the credentials and headers parameters empty to use the default values.
fetch('http://dns.alidns.com/resolve?uid=9999&type=28&name=www.taobao.com', {
  credentials: 'same-origin',
  headers: {}
});