What Is TTL?
TTL is short for time to live. It specifies how long records are cached on a local DNS server.
The local DNS server is connected to clients (computers or smartphones) through the Internet. By default, its address is assigned by the broadband carrier. You can also choose a public DNS server, for example, 22.214.171.124 or 126.96.36.199, as your local DNS server. The local DNS servers for ECSs purchased on Huawei Cloud are private DNS servers. For details, see What Are the Private DNS Server Addresses Provided by Huawei Cloud?
When the local DNS server receives a domain name request, it asks the authoritative DNS server of the domain name for the required resource record, and then caches the record for a period of time. During this period, if the local DNS server receives requests for this domain name again, it does not request the record from the authoritative DNS server, but directly returns a result from the record in its cache.
The length of time resource records are cached on the local DNS server is specified by the TTL value. You can set it when adding record sets in public or private zones. For details, see Managing Record Sets.
The effective time of the following operations depends on the TTL value (to accelerate the process, decrease the TTL value):
DNS Overview FAQs
- Will I Be Billed for the DNS Service?
- How Many Zones, PTR Records, and Record Sets Can I Create?
- What Are DNS Server Addresses Provided by Huawei Cloud DNS?
- What Are the Private DNS Server Addresses Provided by Huawei Cloud?
- What Are the Differences Between Public and Private Domain Names?
- Does DNS Support IPv6?
- Does DNS Support Explicit and Implicit URLs?
- Does DNS Support Dynamic Domain Name Resolution?
- Does DNS Support Wildcard Entries?
- What Is TTL?
- How Many Domain Name Levels Does DNS Support?
- How Are Zones Queried to Resolve a Domain Name?
- What Are the Priorities of Resolution Lines?
- Why Was the Email Address Format Changed in the SOA Record?
- What Is CAA?
- What Is the MX Record Set Priority?
- Can DNS Point a Domain Name to a Specific Port?