To bind an IP address to a domain, point a domain to a web server, or connect a domain to an email service, you must configure DNS resolution records.
Public Authoritative DNS uses these records to direct internet users and systems to the correct destination resources, such as websites, mail servers, or cloud endpoints.
Common Use Cases
- Website Hosting: You own
example.comand want visitors to access your main site at[www.example.com](https://www.example.com)and a demo environment atplayground.example.com. Configure DNS records using the host recordswwwandplayground. - Unified Website Entry Point: You want
[www.example.com](https://www.example.com)to be the sole entry point for your domain, ensuring all other subdomains (such asa.example.comorb.example.com) automatically redirect to[www.example.com](https://www.example.com)rather than failing to resolve. Configure a record forwwwand add a wildcard record (*) set to Explicit URL Forwarding as a catch-all redirect. - Corporate Email Setup: You have purchased Alibaba Enterprise Mail (or another corporate email service) and want team members to send and receive email using
<userId>@example.com. Configure the required email DNS records (such as MX and TXT records) for your domain. - Cloud Service Integration: When binding a custom domain (e.g.,
demo.example.com) to cloud services—such as an OSS Bucket, CDN acceleration, a Web Application Firewall (WAF), or a live-streaming push domain—the service provides a target CNAME address (e.g.,on-premises-dns.aliyun.com). Create aCNAMErecord with the host recorddemopointing to that target address.
Choosing a DNS Record Type
Cloud DNS supports the following record types. Use the table below to select the appropriate type for your configuration.
| Record Type | Description & Common Use Cases | Usage Frequency |
| A | Maps a domain name to a specific IPv4 address. Primarily used for website hosting. | 5/5 — Foundational record required by almost every domain. |
| CNAME | Maps a domain name to another domain name (alias). Used for websites, CDN acceleration, corporate email, and Global Traffic Manager (GTM). | 5/5 — Highly versatile; standard for CDNs and cloud services. |
| TXT | Stores text information for domain identification and verification. Used for domain ownership verification, SSL/TLS certificates, SPF (anti-spam), and domain recovery. | 5/5 — Essential for security, email authentication, and verification. |
| MX | Specifies the mail server(s) responsible for receiving email on behalf of the domain, ordered by priority. | 4/5 — Mandatory for email services; not needed if no email is hosted. |
| AAAA | Maps a domain name to a specific IPv6 address. Used to enable website access over IPv6 networks. | 4/5 — Increasingly common as IPv6 adoption expands across cloud providers. |
| NS | Delegates DNS management for a domain or subdomain to specific authoritative DNS servers. | 3/5 — Commonly used for subdomain delegation; rarely modified day-to-day. |
| ALIAS | Flattens CNAME records to bypass standard CNAME restrictions, resolving conflicts when a root domain requires both CNAME and MX/TXT records simultaneously. | 2/5 — Used specifically to resolve record conflicts at the zone apex. |
| Explicit / Implicit URL | Redirects a domain to another existing website URL (with or without masking the destination URL). | 2/5 — Supported by select DNS providers for domain forwarding. |
| SRV | Identifies servers hosting specific services and ports. Commonly used in Microsoft directory services and enterprise communication protocols. | 2/5 — Required for IM and enterprise protocols; uncommon for standard websites. |
| CAA | Specifies which Certificate Authorities (CAs) are authorized to issue SSL/TLS certificates for the domain, preventing unauthorized certificate issuance. | 2/5 — Recommended for enhanced SSL/TLS certificate security. |
| PTR | Maps an IP address back to a domain name (reverse DNS lookup) to verify IP-to-domain alignment. | 1/5 — Used primarily for mail server verification; rarely needed for websites. |
| SVCB | Improves service discovery by providing protocol and endpoint parameters, optimizing client connection decisions, performance, and security. | 1/5 — Emerging standard used for HTTP/3 and QUIC. |
| HTTPS | A specialized version of the SVCB record designed specifically to describe and optimize HTTPS services. | 1/5 — Growing browser support for HTTPS performance optimization. |
| TLSA | Binds a TLS certificate or public key fingerprint to a domain in DNS using the DANE protocol, allowing clients to verify certificate authenticity via DNS. | 1/5 — Niche use case for DANE-based TLS verification. |
How to Add DNS Records
Where to mange DNS records?
An A Record points your domain to a fixed IPv4 address. Once you have deployed a website accessible via a public IP address and registered a domain, adding an A record allows users to reach your site using the domain name.
- Log in to your account console
- Find the corresponding hosting plan
- Click manage hosting plan
- Click login to control panel

You browser must allow pop-up to sign you automatically to your C-Panel control panel.
Once you’ve signed in to your C-Panel, follow these steps:
- In the top right search bar, search Zone Editor
- Click Zone Editor in the search result

Once you’ve entered Zone Editor in your control panel, click Manage to manage your domain DNS.

Click Add Record to create a new DNS record.

Adding a DNS record
A Record
An A Record maps a domain or subdomain to a fixed IPv4 address. Use this to point your domain to a web server.
Prerequisites & Limitations:
- You must have the server’s public IPv4 address (e.g.,
192.0.2.1). Do not use private/internal IPs (192.168.x.x,10.x.x.x). - For any host record other than
@, an A record cannot coexist withNS,CNAME,ALIAS, orURLrecords on the same host and resolution line. - Multiple A records can be added to the same host for round-robin or weighted load balancing.
| Field | Configuration / Example |
| Record Type | Select A |
| Host Record | Enter the subdomain prefix only (e.g., www for [www.example.com](https://www.example.com), @ for example.com). |
| DNS Request Source | Default (or select a specific ISP/region for Smart DNS). |
| TTL | 600 seconds (10 minutes) (recommended). |
| Load Balancing Policy | Round-Robin (default) or Weighted. |
| Record Value | Enter the server’s public IPv4 address (e.g., 223.5.5.x). |
CNAME Record
A CNAME Record points a domain or subdomain to another domain name rather than an IP address. Use this for CDN acceleration, OSS custom domains, WAF, or third-party hosting platforms.
Prerequisites & Limitations:
- You must obtain the target CNAME address from your cloud or hosting provider.
- Conflict Rule: A
CNAMErecord cannot coexist with any other record type (A,MX,TXT,AAAA, etc.) under the same host record and resolution line. - Root Domain (
@) Restriction: Avoid configuring a CNAME record on the root domain (@) if you also use email (MXrecords) on that domain. Use anALIASrecord instead to prevent conflicts.
| Field | Configuration / Example |
| Record Type | Select CNAME |
| Host Record | Enter the subdomain prefix (e.g., www, cdn, or demo). |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| Record Value | Enter the target domain name provided by your service. Do not include http:// or https://. |
MX Record
An MX Record directs email sent to your domain (user@example.com) to the correct mail server.
Prerequisites & Limitations:
- Obtain the mail server hostname(s) and priority values from your email provider (e.g., Google Workspace, Microsoft 365).
- Priority Rules: MX records require an MX Priority value (typically
1to50). Lower numbers indicate higher priority. Mail servers attempt delivery to the lowest-numbered server first and fall back to higher-numbered servers if it is unavailable. - Conflict Rule: An MX record cannot coexist with a
CNAMErecord on the same host record (commonly@).
| Field | Configuration / Example |
| Record Type | Select MX |
| Host Record | Enter @ for root domain emails (user@example.com), or a subdomain prefix (e.g., mail) for subdomain emails (user@mail.example.com). |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| MX Priority | Enter the priority number provided by your email service (e.g., 5 for primary, 10 for backup). |
| Record Value | Enter the mail server domain name. Do not enter an IP address. |
TXT Record
A TXT Record stores arbitrary text strings in DNS. It is primarily used for domain ownership verification, SSL/TLS validation, and email security protocols (SPF, DKIM, and DMARC).
Prerequisites & Limitations:
- Copy the exact text string provided by the verifying platform or email provider.
- Formatting: Standard TXT values have a character limit per string (typically 255 or 512 characters depending on the provider). Do not add extra quotation marks unless explicitly instructed by your DNS console.
- SPF Rule: A domain should only have one SPF TXT record. If you use multiple email senders, combine them into a single
v=spf1record rather than creating multiple separate SPF records.
| Field | Configuration / Example |
| Record Type | Select TXT |
| Host Record | • Domain verification / SPF: @• DMARC: _dmarc• DKIM: Provider-specific selector (e.g., default._domainkey) |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| Record Value | Paste the exact verification string or policy (e.g., v=spf1 include:spf.qiye.aliyun.com -all). |
AAAA Record
An AAAA Record maps a domain or subdomain to a fixed IPv6 address. Use this to enable IPv6 connectivity for your website or application.
Prerequisites & Limitations:
- You must have a valid public IPv6 address (128-bit hexadecimal format, e.g.,
2001:0db8:85a3:0000:0000:8a2e:0370:7334). - Dual-Stack Support: An
AAAArecord can coexist with anArecord on the same host record. This enables dual-stack access so both IPv4 and IPv6 clients can reach your server. - Conflict Rule: Cannot coexist with
CNAME,NS(on non-root hosts),ALIAS, orURLrecords on the same host and resolution line.
| Field | Configuration / Example |
| Record Type | Select AAAA |
| Host Record | Enter the subdomain prefix (e.g., www for [www.example.com](https://www.example.com), @ for example.com). |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| Load Balancing Policy | Round-Robin (default) or Weighted. |
| Record Value | Enter the server’s public IPv6 address (e.g., 2400:3200::1). |
Https Record
An HTTPS Record is a specialized version of the SVCB record used to optimize HTTPS connections. It allows browsers to discover supported protocols (such as HTTP/2 or HTTP/3), port numbers, and IP hints in a single DNS query, reducing connection latency and enabling encrypted Client Hello (ECH).
Prerequisites & Limitations:
- Service Mode vs. Alias Mode:
- Priority
0(Alias Mode): Acts similarly to a CNAME, redirecting the client to another target domain (can be used at the root domain@). - Priority
1–65535(Service Mode): Specifies connection parameters (such asalpn,ipv4hint,ipv6hint, andport) for the endpoint. Lower numbers indicate higher priority.
- Priority
- Target Name: Use
.(a single dot) in Service Mode to indicate that the target domain is the same as the host record itself.
| Field | Configuration / Example |
| Record Type | Select HTTPS |
| Host Record | Enter @ for the root domain or a subdomain prefix (e.g., www). |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| Record Value | Format: [Priority] [TargetName] [SvcParams]• Service Mode example: 1 . alpn="h3,h2" ipv4hint="203.0.113.10"• Alias Mode example: 0 cdn.example.com. |
CAA Record
A CAA Record specifies which Certificate Authorities (CAs) are authorized to issue SSL/TLS certificates for your domain. This helps prevent unauthorized or misissued certificates.
Prerequisites & Limitations:
- Confirm the exact domain name of your chosen Certificate Authority (e.g.,
letsencrypt.org,digicert.com,globalsign.com). - Inheritance: A CAA record set on the root domain (
@) automatically applies to all subdomains unless a subdomain defines its own CAA record. - Tags:
issue: Authorizes a CA to issue standard (non-wildcard) certificates.issuewild: Authorizes a CA to issue wildcard certificates (e.g.,*.example.com).iodef: Specifies a URL or email (mailto:) where CAs can report policy violations.
| Field | Configuration / Example |
| Record Type | Select CAA |
| Host Record | Enter @ for the entire domain, or a specific subdomain prefix (e.g., shop). |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| Record Value | Format: [Flag] [Tag] "[Value]" (Flag is typically 0)• Standard cert: 0 issue "letsencrypt.org"• Wildcard cert: 0 issuewild "digicert.com"• Violation report: 0 iodef "mailto:security@example.com" |
SVCB Record
An SVCB Record is a general-purpose service binding record that provides clients with protocol, port, and endpoint information before connecting. It is used for non-HTTPS services (or general protocol upgrades) to improve connection speed and security.
Prerequisites & Limitations:
- Like HTTPS records, Priority
0indicates Alias Mode (pointing to another domain), while Priority1–65535indicates Service Mode (defining service parameters). - Host Record Formatting: Non-HTTP services typically require an underscore-prefixed port and protocol label in the host record (e.g.,
_8443._foo.example.com).
| Field | Configuration / Example |
| Record Type | Select SVCB |
| Host Record | Enter the service prefix (e.g., _8443._foo or @ depending on the protocol specification). |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| Record Value | Format: [Priority] [TargetName] [SvcParams]• Service Mode example: 1 svc.example.com. alpn="h2" port="8443"• Alias Mode example: 0 target.example.com. |
SRV Record
An SRV Record identifies the hostname and port number of servers hosting specific services, such as VoIP (SIP), Microsoft 365 / Active Directory, XMPP, or game servers.
Prerequisites & Limitations:
- Host Record Naming: Must follow the strict format
_service._protocol(or_service._protocol.subdomain), where both the service and protocol begin with an underscore (e.g.,_sip._tlsor_autodiscover._tcp). - Value Components: The record value requires four space-separated parameters: Priority, Weight, Port, and Target.
- Priority: Lower values are tried first (
0–65535). - Weight: Distributes traffic among records with the same priority (
0–65535; higher weights receive more traffic). - Port: The TCP or UDP port number where the service listens.
- Target: The canonical hostname of the server providing the service (must resolve to an
AorAAAArecord, not aCNAME).
- Priority: Lower values are tried first (
| Field | Configuration / Example |
| Record Type | Select SRV |
| Host Record | Format: _service._protocol (e.g., _sip._tls or _xmpp-client._tcp). |
| DNS Request Source | Default |
| TTL | 600 seconds (10 minutes) (recommended). |
| Record Value | Format: [Priority] [Weight] [Port] [Target]• Example: 10 5 443 sipdir.online.lync.com |
Verifying DNS Configuration & Propagation
After adding or modifying a DNS record, allow time for the changes to propagate across the internet before confirming that the configuration is active.
Expected Propagation Timeline
| Standard Propagation | Changes typically take effect in most regions within 10 to 30 minutes. |
| Global Synchronization | Full synchronization across all recursive DNS servers worldwide can take up to 48 hours. |
| Impact of TTL | Propagation speed depends on the record’s TTL (Time to Live) value. Local DNS servers cache previous records until the old TTL expires, so confirm that the TTL window has passed before troubleshooting. |
Test DNS Resolution
In addition to visiting your domain URL directly in a browser, you can verify DNS propagation using command-line tools or online lookup utilities:
Using nslookup (Windows / macOS / Linux)
nslookup -type=A www.example.com
(Replace A with CNAME, MX, TXT, AAAA, etc., as needed.)
Using dig (macOS / Linux)
dig www.example.com A +short
Using Propagation Checkers
Use a global DNS lookup tool (such as WhatsMyDNS or DNSChecker) to verify that the updated record value is returning consistently across multiple geographic regions.
Quick Troubleshooting Checklist
If your domain still does not resolve after the expected propagation window, check the following:
| Record Conflicts | Verify that no conflicting records exist on the same host record and resolution line (e.g., a CNAME conflicting with an A, MX, or TXT record). |
| Missing Default Line | Confirm that at least one record for the host is configured with the DNS Request Source set to Default. |
| Host Record Formatting | Ensure you entered only the subdomain prefix (e.g., www or @) and not the full domain name ([www.example.com](https://www.example.com)), which causes a duplicate suffix. |
| Domain Status & Nameservers | Confirm that the domain is active (not expired or suspended) and that its authoritative nameservers at your registrar point to Cloud DNS. |
| Local DNS Cache | Clear your local operating system and browser DNS cache, or test from a different network (such as mobile data) to rule out stale local caching. |
