Skip to content
Open console

DNS Records

DNS records connect your domain to services. Each record has a name, a type, a value, and a TTL. This page covers the shared rules. Each type has its own page with fields, examples, and constraints.

TypePurposePage
A / AAAAPoint a name at an IPv4 or IPv6 addressA and AAAA
CNAMEAlias one name to anotherCNAME
MXRoute email to a mail serverMX
TXTStore text (SPF, DKIM, verification)TXT
CAARestrict certificate issuance to chosen CAsCAA
NSDelegate a subdomain to other name serversNS

The record name is relative to your zone. Enter www for www.example.com, not the full name. Use @ for the zone root (the apex). In the CLI and API, ZCP appends the zone for you, so a full name like www.example.com becomes www.example.com.example.com.

Hostname values, such as a CNAME target, an MX mail server, or an NS name server, should end with a trailing dot. For example, use mail.example.com.. The dot marks the name as fully qualified so ZCP does not treat it as relative to your zone.

The TTL (time to live) is how long, in seconds, resolvers cache the record. The default is 14400 (4 hours). Lower it to 300 a day or two before you plan to change a record, so the change propagates quickly. Raise it again once the record is stable.

A name and type hold several values. Creating a record at a name and type with existing values adds the new value to the set. The existing values stay. For example, add a second A record, a second MX record, or a third TXT record at the same name. You do not need a support ticket for this.

Four TXT values at the apex of example.ca in the DNS console

Creating an exact copy of an existing value does not create a second copy, and it does not remove the other values.

Deleting a value in the console removes only that value. The other values stay.

Enter a TXT value with or without double quotes. The platform stores it quoted and returns it quoted.

The first two limits apply to the console, the CLI, and the API alike. The last applies to the CLI.

A name holding a CNAME holds nothing else, so it cannot also carry an A, MX, or TXT record. Creating a CNAME at a name with other records fails with an error like RRset www IN CNAME: Conflicts with pre-existing RRset. Use a CNAME only on a name with no other records, and never at the zone apex.

There is no update action. To change a value, delete it and create it again with the new value.

zcp dns record-delete attempts to delete each value it reads initially at a name and type. Values added concurrently remain. The CLI is not suitable for removing one selected value. Use the console or the API with the exact record content instead.

Every type works the same way across all surfaces:

There is no update action. To change a record, delete it and create it again with the new value.

See also: DNS Overview, Worked examples, Troubleshooting

Ask the ZCP docs

Type a question and pick an assistant. The assistant opens in a new tab and reads this page and the full ZCP documentation, so its answer comes from our docs.

Example questions

Ask with

Your question goes to the assistant you pick, under its own terms.