Connecting your own domain: DNS records explained
In short
To use your own domain you add DNS records at the place where the domain is registered. An A or CNAME record points the name at your site, and a TXT record proves you control it. INZOX Cloud shows the records to add and then checks them with you.
What DNS does
DNS is the internet's address book. Your domain name, such as example.com, is easy to remember, but computers need an address. DNS records are the entries that connect a name to where it should go.
You keep the domain wherever you bought it. With INZOX Cloud you do not transfer it: you add the records the console gives you at your registrar or DNS provider.
The record types you will meet
- A record: points a name to an IPv4 address, for example
example.comto a server address. - AAAA record: the same, for an IPv6 address.
- CNAME record: makes one name an alias of another name, for example
www.example.comto a host name. A name with a CNAME cannot hold other records, so most DNS providers do not allow a CNAME on the bare domain (the apex). - TXT record: holds text. It is used to prove ownership, and also for email rules such as SPF and DMARC.
- MX record: says which servers receive email for the domain. Only needed if you use email on the domain.
How it works in INZOX Cloud
- Open your project and add your domain.
- Copy the DNS records the console lists for that domain.
- Add them at your registrar or DNS provider.
- Return to the console and verify. INZOX Cloud looks the records up in DNS and tells you whether they are found.
Why changes take time
DNS answers are cached by resolvers around the internet so that lookups stay fast. Each record has a TTL (time to live), a number of seconds a cached answer may be reused. A change is visible everywhere only after the old cached answers expire.
In practice a new record is often visible within minutes, while a changed record can take as long as its old TTL. If you plan a switch, lower the TTL a day ahead. If verification fails right after you add a record, wait and try again before changing anything.
Checking from your own computer
You can look up a record yourself, which separates a typing mistake from a propagation delay.
dig +short A example.com
dig +short CNAME www.example.com
dig +short TXT example.comCommon mistakes
- Typing the full name where the provider already adds the domain, which produces
www.example.com.example.com. - Putting a CNAME on the bare domain, where it is usually not allowed.
- Adding a second record of a type that must be unique, such as a second SPF record.
- Leaving an old record in place that still points at the previous host.
- Checking too soon, before the old cached answer has expired.
Next, read how to deploy from Git, or set up business email on the same domain.
Questions and answers
- Do I have to transfer my domain to INZOX Cloud?
- No. You keep the domain at your registrar and add the DNS records the console shows you.
- How long does DNS propagation take?
- A new record is often visible within minutes. A changed record can take up to the old record's TTL to spread everywhere.
- Which record proves I own the domain?
- A TXT record is commonly used for ownership. The console lists the exact records to add for your domain.