How DNS works: lookups, TTL, propagation and record types

By Noiz / 19th October 2026 | 8 min

The Domain Name System (DNS) turns a name such as yourbusiness.co.za into the addresses computers use to reach your website and your mail. Each answer is cached for a time the zone sets, called the time to live (TTL), so when you change a record the old answer lingers until that time runs out. What people call "propagation" is those caches expiring at different moments around the world. This article explains how DNS works in a lookup, how to make changes without disruption, and what each common record does.

In short

  • A lookup passes from the root servers to .za, then co.za, then your nameservers, which hold the answer.
  • Every answer is cached for its TTL, so a changed record reaches different people at different times.
  • To change DNS safely, lower the TTL ahead of the change and keep the old service running until the old TTL has passed.
  • A, MX, TXT and CNAME records do most of the work, and TXT records carry SPF, DKIM and DMARC.
  • On every Noiz hosting plan, the DNS zone sits in Plesk beside your website and mail.

How DNS works: what happens when someone opens your website?

The visitor's device asks a recursive resolver, which finds the answer on its behalf in five steps. The resolver is usually run by their internet provider or a public DNS service.

Step Who is asked What it returns
1 The root servers The servers for .za
2 The .za servers The servers for co.za
3 The co.za servers The nameservers for yourbusiness.co.za, the delegation your registrar set up when you chose nameservers
4 Your nameservers, which are authoritative The answer from the zone, the list of records for the name, for example the address of the web server
5 The resolver, back to the device The answer, which the resolver also caches so the next person who asks gets it straight away

Every step except the last is also cached. A busy resolver rarely has to start from the root.

What is TTL in DNS?

TTL is the number of seconds a resolver may keep using a record before it asks again. Every DNS record carries one. The DNS standard, RFC 1035, defines it as the time a record may be cached before the source should be consulted again. A TTL of 3600 means a resolver may keep an answer for an hour.

The trade-off. A long TTL means fewer lookups and faster answers. A short TTL means changes reach visitors sooner. Zones commonly use somewhere between five minutes and a day.

Why does DNS "propagation" take time?

Nothing is pushed out to the internet when you edit a record. Your nameservers start giving the new answer at once, but every resolver that looked the name up recently still holds the old answer. It keeps using it until its TTL runs out. Each resolver cached the record at a different moment, so the change appears to spread unevenly: one person sees the new site, a colleague still sees the old one.

A nameserver change has two layers of caching. The delegation in the parent zone (the co.za servers in the example) has its own TTL, set by the registry, and the records in your new zone have theirs. Until the delegation's TTL expires, some resolvers keep asking your old nameservers.

"Not found" is cached too. RFC 2308 allows resolvers to cache a "this name does not exist" answer, for a time set by the zone's SOA record. If someone looked up a new subdomain before you created it, they may keep getting "not found" for a while.

How do you change DNS without disruption?

Lower the TTL before the change and raise it again afterwards. RFC 1034 describes this routine for any change you can anticipate.

Step What you do Why
1. Lower the TTL Set the records you will change to a short TTL, for example 300 seconds, at least one old TTL ahead of the change. If the old TTL was a day, do it a day before. Caches then expire quickly once you switch.
2. Make the change Edit the record and check it against your nameservers directly. You see the new answer before any cache can hide it.
3. Keep the old service running Leave the old server or mailbox in place until the old TTL has passed. Visitors who still hold the old answer are not stranded.
4. Raise the TTL Set a longer TTL again once everything is settled. Fewer lookups and faster answers.

Moving between providers. Build the complete zone at the new provider before you switch the nameservers, and compare it record by record with the old one.

Which DNS record types will you meet?

Most zones use the nine record types below. The table shows what each does and a typical use.

Record What it does Example use
A Points a name to an IPv4 address The website's server
AAAA Points a name to an IPv6 address The website's server over IPv6
CNAME Makes one name an alias of another www pointing to the main domain
MX Names the servers that accept mail for the domain Your mail server, with a priority
TXT Holds text SPF, DKIM, DMARC and verification codes
NS Names the authoritative nameservers Set at the registrar and in the zone
SOA Marks the start of the zone and holds its timers Serial number, negative caching time
SRV Gives the server and port for a service Calendar, chat or voice services
CAA Names the certificate authorities allowed to issue certificates Limiting certificates to one authority

Two rules catch people out:

  • A CNAME cannot sit beside other records. If a name has a CNAME, it may have nothing else, so the bare domain (which needs its SOA, NS and usually MX records) cannot be a CNAME.
  • An MX or NS record must not point to a CNAME. It must point to a name with its own A or AAAA record.

What do SPF, DKIM and DMARC records do?

Three TXT records decide whether mail from your domain is trusted. Each is published in your DNS zone.

Record Standard What it does Where it sits
SPF RFC 7208 Lists the servers allowed to send mail for your domain. A domain may have only one SPF record, so a second sending service is added to the existing record, not given a new one. On the domain itself
DKIM RFC 6376 Publishes the public key that receiving servers use to check the signature on your outgoing mail. At an address such as selector._domainkey.yourbusiness.co.za
DMARC RFC 9989 (published in 2026) Tells receiving servers what to do with mail that fails SPF and DKIM, and where to send reports. At _dmarc.yourbusiness.co.za

Our knowledgebase guide on protecting your domain from spoofing shows how to set them up on Noiz hosting.

What is DNSSEC?

DNSSEC adds digital signatures to DNS answers, so a validating resolver can confirm that an answer came from the real zone and was not altered on the way. It does not encrypt anything. The signatures form a chain of trust from the root, and the link between your zone and the registry is a DS record held at the registry.

Handle the link with care. The link must be looked after when a domain or its DNS moves. The .za registry warns that a DNSSEC error can make a correctly hosted website look unavailable to validating resolvers.

How does DNS work at Noiz?

On every Noiz hosting plan, the DNS zone for your domain sits in the Plesk panel beside the website and the mail, on our nameservers ns1.noiz.co.za and ns2.noiz.co.za. Our guide on adding and editing DNS records in Plesk covers the panel.

Option What it is
Hosting plan The zone sits in Plesk beside the website and mail.
DNS Only For a domain without hosting: a zone on our servers that you run from your account.
Cloudflare add-on Puts a hosted domain's DNS on Cloudflare, kept in sync with the records in your Noiz control panel.

Read next:

Find out more, and see every extension's price, on Domains at Noiz.

Sources

Checked 19 October 2026.

Standards (RFC Editor)

Registry

Noiz

Note: while some of this content was produced with the help of AI, the final editing has been done by a real human being.