SEO guide

Domain and DNS guide: records, propagation and domain management

Your domain is the address of your website and your email; DNS says which servers that name points to. This guide explains how DNS works, the record types, what TTL and propagation really are, how to avoid downtime when changing hosting or nameservers, DNSSEC, and how domain renewal and transfers work.

13 min readUpdated: November 9, 2026

In short

  • The registrar, the DNS provider and the host can be different companies; the nameserver setting at the registrar decides which panel you edit your records in.
  • “Propagation” isn't distribution but cache time: resolvers holding the old record ask for the new value once the record's TTL expires.
  • Lower the TTL to 300 seconds at least one old TTL period before a planned change; the change then spreads within a few minutes.
  • You can't add a CNAME at the root domain; use your provider's CNAME flattening or ALIAS support, or the A record your platform gives you.
  • With DNSSEC on, remove the DS record before changing nameservers; otherwise validating resolvers can't open your site.
  • Keep auto-renewal and the transfer lock on, and your contact email up to date.

How does DNS work?

When you type ornek-site.com into your browser, your computer first asks a recursive resolver. This is usually your internet provider's server or a public DNS server such as 8.8.8.8 or 1.1.1.1. If the resolver doesn't find the answer in its cache, it follows these steps in order:

  1. It asks the root servers which servers handle the .com extension.
  2. The .com servers return the domain's authoritative nameservers (NS). These are the nameservers you entered in your registrar's panel.
  3. The authoritative nameserver returns the record itself, for example the IP address in the A record.
  4. The resolver keeps the answer for the record's TTL and serves it from cache to everyone who asks the same question.

There are four separate roles in this chain: the registry that runs the extension (Verisign for .com, TRABIS for .tr), the registrar you bought the domain from, the DNS provider that publishes your records, and the host where your site runs. The nameserver setting at the registrar decides which DNS provider is authoritative. If the nameservers don't point there, changes you make in the DNS screen of another panel change nothing, which is a common reason behind “I added the record but it doesn't show up”.

You can follow the same path from the command line:

dig ornek-site.com A +short
dig @8.8.8.8 ornek-site.com A
dig ornek-site.com NS +short
dig +trace ornek-site.com

The first command shows your own resolver's answer, the second Google Public DNS's answer with the TTL remaining in its cache, and the third the authoritative nameservers; +trace follows every step starting from the root. To look from the browser, DNS lookup fetches A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records in one go and recognizes the email service and DNS provider from the MX and NS records.

DNS record types and what they do

TypeWhat does it do?Example value
AMaps the name to an IPv4 address.203.0.113.10
AAAAMaps the name to an IPv6 address; optional.2001:db8::10
CNAMEMakes the name an alias of another name; the resolver uses the target's records.ornek-site.com.
MXSays which server receives email for the domain, in order of priority.10 mx1.ornek-site.com.
TXTFree text: SPF, DMARC, DKIM and service verification codes.v=spf1 include:_spf.google.com ~all
NSThe zone's authoritative nameservers.ns1.dns-ornek.com.
CAAWhich certificate authorities may issue certificates.0 issue "letsencrypt.org"
SRVA service's server and port.10 60 5061 sip.ornek-site.com.
SOAThe zone's primary server, serial number and timers; usually managed by the provider.—
PTRReverse record from an IP address to a name; managed by whoever owns the IP address (the hosting company).mail.ornek-site.com.

CNAME and the root domain problem

The DNS rule (RFC 1034) says that if a name has a CNAME, it can't have any other records. Because the root domain (ornek-site.com, @ in most panels) must have SOA and NS records, you can't add a CNAME at the root; and if www is a CNAME, you can't add a TXT or MX record to that name either. If your platform gave you a target name such as proje.platform-ornek.com, there are three options for the root:

  • CNAME flattening or ALIAS/ANAME: some DNS providers let you enter an alias at the root but publish the target's A and AAAA records to the outside world.
  • The A record from your platform: most platforms publish a fixed IP address for root domains, and a CNAME is used for www.
  • Making www the main address: the site is published on www.ornek-site.com and the root redirects to it.

MX and NS records, too, must point not to a CNAME but directly to a name that has an A or AAAA record (RFC 2181).

MX and TXT records

In MX records, the lower priority number is tried first, and servers with the same number share the load. For domains that don't receive email, a null MX record (0 ., RFC 7505) tells senders not to send mail to that address; DNS lookup shows it as “Null MX”.

A name can have several TXT records: SPF, Search Console's domain verification (google-site-verification=) and Microsoft 365's MS= code sit side by side. SPF, however, must appear only once per name; DMARC and DKIM go on their own subnames (see the SPF, DKIM and DMARC guide). DNS lookup labels TXT records by type. Before deleting an old verification code, check which service it belongs to: services such as Search Console may drop the verification when the code is removed.

CAA and SRV records

A CAA record says which certificate authorities may issue certificates for your domain. If there's no CAA record at all, any authority can. If you add one, list every authority you use; if your CDN or hosting platform obtains certificates on your behalf, add the authorities it uses too, or renewal will fail:

ornek-site.com.  CAA  0 issue "letsencrypt.org"
ornek-site.com.  CAA  0 issuewild ";"
ornek-site.com.  CAA  0 iodef "mailto:guvenlik@ornek-site.com"

issuewild ";" blocks wildcard certificates, and iodef gives an address for reporting requests that break the rules. An SRV record publishes a service's server and port; its name takes the form _service._proto.ornek-site.com, and the service provider usually gives you the ready-made value.

TTL and DNS propagation: what really happens?

The phrase “DNS propagation” suggests that a change is gradually distributed across the internet, but nothing is distributed at all. When you change a record, the authoritative nameservers usually start giving the new value within a few minutes. The wait comes from resolvers that have cached the old answer: each one keeps the record until the TTL it received at the time runs out.

  • TTL (time to live) is the record's cache time in seconds. If you change an A record whose TTL is 86400 (one day), a resolver that asked just before the change may keep giving out the old IP address for a whole day.
  • Nameserver changes take longer: the delegation is also stored on the extension's servers, with its own TTL there; in the .com zone that's two days. This is where the familiar “24–48 hours” warning comes from.
  • Negative caching: if you looked up a name before creating its record, the “no such name” answer is cached too. Its duration comes from the SOA record and appears in the SOA panel of DNS lookup as “Negative caching TTL”.
  • Local cache: your operating system and browser keep a short-lived cache too; on Windows, ipconfig /flushdns clears it, but it doesn't clear your internet provider's cache.

Reading the DNS propagation checker

The DNS propagation checker asks for the record you choose on 12 public DNS servers (Google, Cloudflare, Quad9, OpenDNS and others) and on up to 4 of your domain's authoritative nameservers at the same time. The yardstick for the comparison is the authoritative servers' answer; if they can't be reached, the majority of the public servers is used instead. In the results, look at:

  • Same answer: the number of public servers returning the same value as the authoritative answer. If they all match, the “All responding servers show the same record” finding appears and the change has propagated.
  • Different answer: servers still holding the old record in their cache. The TTL column in the table shows how long these servers will keep it cached, while the TTL in the summary shows the value on the authoritative server; they'll get the new value by the end of that time at the latest.
  • Filtered servers: Quad9, AdGuard, CleanBrowsing and Comodo may block names that host malware or ads. If only these differ, the difference is most likely unrelated to propagation.
  • The authoritative servers give different answers: caching can't explain this warning. One of your nameservers is serving old zone data, or your nameservers are with different providers; check your DNS provider's panel.

The country under each server's name shows the operator's country, not where the server is; most of these servers answer from many locations via anycast.

Avoid downtime when changing hosting or nameservers

There are two kinds of move. If only the hosting changes, your DNS provider stays the same and you point a few records (usually A, AAAA or CNAME) to the new server. If the DNS provider changes too, you change the nameservers at the registrar, which means the whole zone is published by the new provider. Don't do both on the same day.

Moving hosting: changing records

  1. Take an inventory of your records. DNS lookup only queries the name you type; look up subdomains such as www and mail and DKIM selectors such as google._domainkey separately, or export the zone file from your DNS provider.
  2. Lower the TTL in advance. Reduce the TTL of the records that will change to 300 seconds and wait at least as long as the old TTL. If the old TTL is 86400, do this a day ahead; otherwise the lowered value also reaches caches late.
  3. Test the new server without changing DNS. Add the new IP address to your computer's hosts file, or send the request straight to the new server with the curl --resolve command below.
  4. Prepare the certificate. Let's Encrypt's HTTP validation doesn't work until the domain points to the new server; get the certificate in advance through DNS validation, or move the valid certificate and its key to the new server.
  5. Change the record and monitor. Use the DNS propagation checker to see whether public servers are returning the new IP address.
  6. Don't shut down the old server right away. Until the old TTL runs out, some visitors and bots still go to the old IP address. On sites that take orders or forms, freeze content changes on the old server during this time; otherwise those entries stay on the old server.
  7. Raise the TTL again. Once everything has settled, set the TTL back to a value such as 3600.
curl -sI --resolve ornek-site.com:443:203.0.113.20 https://ornek-site.com/

Moving DNS providers: changing nameservers

  1. Create the zone at the new DNS provider and copy every record exactly, MX and TXT included. If the provider scanned your records automatically, compare the list with your inventory; the scan may miss subdomains and DKIM selectors.
  2. If DNSSEC is on, turn it off first (see the next section).
  3. Replace the nameservers with the new ones in the registrar's panel.
  4. Don't delete the zone at the old provider for at least a few days; resolvers holding the old delegation still query it, and as long as both sides have the same records, everyone gets the same answer.
  5. Shut down the old zone once you see the new nameservers in DNS lookup's NS panel and consistent NS answers in the DNS propagation checker.

A hosting move without URL changes doesn't affect rankings by itself; Google's documentation for this kind of move also recommends lowering the TTL in advance. The crawl rate may change for a while as Googlebot learns the new server's capacity; keep an eye on it in Search Console's Crawl Stats report. If pages go down during maintenance, return 503.

After changing a record, see whether 12 public DNS servers and your authoritative servers return the new value.

DNS propagation checker

DNSSEC: what is it for, and what to watch out for when moving

DNSSEC lets DNS answers be signed. Your DNS provider signs the records in the zone with a private key (RRSIG) and publishes the public key (DNSKEY). The DS record, added to the extension's zone through your registrar, is that key's fingerprint and links the chain of trust to the parent zone. A validating resolver checks the signature and rejects forged or altered answers.

Its failures are harsh too: if a signature can't be validated, validating resolvers return an error (SERVFAIL) instead of an answer, and both the site and email go down for those users, while people using non-validating resolvers see no problem. That's why “it opens for some people but not for others” is a typical sign of a DNSSEC problem.

The DS record trap when moving

The most common mistake is changing the nameservers of a domain with DNSSEC turned on. The DS record at the extension still points to the old provider's key; the new provider's signatures can't be validated against it, or the new zone isn't signed at all. The safe order is:

  1. Remove the DS record in the registrar's panel, that is, turn DNSSEC off.
  2. Wait at least the TTL for the DS record to drop out of caches, and a day or two to be safe.
  3. Change the nameservers and confirm that the zone works properly at the new provider.
  4. Turn on DNSSEC at the new provider and add the DS record it gives you at the registrar.

WHOIS lookup shows whether the registry has a DS record with the “DNSSEC enabled” or “DNSSEC not enabled” finding. Röntgen's DNS tools don't list DS and DNSKEY records; on the command line, dig ornek-site.com DS +short shows the DS record at the extension and dig ornek-site.com DNSKEY +short the key your provider publishes. When DNSSEC breaks, validating servers such as Google, Cloudflare and Quad9 show “Error” in the DNS propagation checker; if the same servers fail on every attempt, check DNSSEC first.

Domain registration: renewal, expiry and transfers

A domain isn't bought but rented for a set period; with generic extensions such as .com, you can register it for between one and ten years. What happens after expiry depends on the extension and the registrar; with generic extensions the typical sequence is:

  1. Expiry and grace period: the registrar doesn't delete the domain immediately, but the site and email are usually suspended or redirected to a parking page. During this time you can usually renew at the normal price.
  2. Redemption period (redemptionPeriod): about 30 days; the domain can only be recovered by paying an extra redemption fee.
  3. Pending deletion (pendingDelete): about 5 days; recovery is no longer possible. At the end, the domain is open for anyone to register again.

If an expired domain ends up with someone else, the links it has collected and its brand value go with it. Turn on auto-renewal, keep track of your card's expiry date, and make sure the contact email at your registrar isn't on the same domain: if the domain stops working, you won't get the reminders either. WHOIS lookup shows a warning when 90 days or less remain until expiry, and a critical finding at 30 days or less.

What do the status codes tell you?

The EPP status codes in WHOIS and RDAP records describe the domain's current state. The most common ones:

CodeMeaning
okNormal; no pending operation or restriction.
clientTransferProhibitedTransfer lock: the domain can't be moved to another registrar without your permission. It's good to keep it on.
clientUpdateProhibited, clientDeleteProhibitedChanges to nameservers and contact details, or deletion, are locked.
clientHold, serverHoldHold: the domain isn't published in DNS, so the site and email don't work. Usually applied because of payment, verification or a complaint.
redemptionPeriodRedemption period: expired, can be recovered for an extra fee.
pendingDeleteAbout to be deleted; open for registration again within a few days.
pendingTransferA transfer to another registrar is in progress.

Transferring a domain

  1. If your DNS is on the old registrar's free DNS service, the zone may be deleted after the transfer; copy the records to the new registrar's DNS or to an independent provider first.
  2. At the old registrar, remove the transfer lock and get the transfer code (auth code, EPP code). Treat this code like a password and only enter it in the new registrar's form.
  3. Start the transfer at the new registrar. Confirmation emails go to the registrant's address; with generic extensions, a transfer that isn't rejected completes within a few days, and usually a year is added to the registration.
  4. When the transfer is done, turn the lock back on; if you use DNSSEC, check that the DS record is still in place.

With generic extensions, a domain can't be transferred again for a period after a new registration or a transfer (registrars usually apply 60 days). Because a transfer can take several days, don't start one just days before the expiry date.

WHOIS, RDAP and the privacy of personal data

WHOIS is an old lookup service that shows a domain's registration details (registrar, dates, status codes, nameservers). It has been replaced by RDAP, which returns structured JSON: since January 28, 2025, ICANN has treated RDAP as the authoritative source for generic extensions and allowed the classic WHOIS service to be shut down.

WHOIS lookup tries RDAP first: it finds the extension's RDAP server in IANA's list and, for extensions such as .com, also reads the registrar's RDAP response to fill in the gaps. If the extension doesn't offer RDAP, it queries the classic WHOIS server and parses the text response. The result includes the domain's age, the days left until expiry, the registrar, status codes, nameservers and DNSSEC status; if there's only one nameserver, the tool warns you. Domain age on its own isn't a ranking factor; the advantage of older domains is the links and content they've built up.

Privacy and KVKK

The name, address, phone number and email you give when registering are personal data. Since Europe's GDPR began to apply in 2018, registrants' personal details for generic extensions are usually hidden in WHOIS and RDAP; in the response you'll see phrases such as REDACTED FOR PRIVACY. Röntgen's tool shows a published organization name but doesn't show information that may belong to an individual.

In Turkey, personal data is processed under the Personal Data Protection Law No. 6698 (KVKK); your registrar explains how it processes your data in its privacy notice. How much information appears in WHOIS depends on the extension and the registrar's privacy options. This isn't legal advice; for domains registered to a company, it's normal for the organization's name to be visible.

Even if your details are hidden, keep your email address at the registrar up to date. With generic extensions, if you don't confirm the verification email sent after a new registration or a change of contact details, the domain may be suspended (clientHold); transfer confirmations and renewal reminders also go to this address.

About .tr domains

  • Since September 2022, .tr domains have been allocated through TRABIS, run by Turkey's Information and Communication Technologies Authority (BTK), via accredited registrars.
  • Extensions such as .com.tr, .net.tr and .org.tr are second-level; the registrable name is ornek.com.tr. If you enter just com.tr in the WHOIS lookup, the tool tells you it's an extension.
  • Some extensions, such as .gov.tr and .edu.tr, are reserved for specific institutions and require documents to register.
  • Because IANA's RDAP list has no server for .tr, Röntgen queries classic WHOIS for this extension. The response format differs from generic extensions, so some fields may appear empty.
  • Renewal, expiry and deletion periods aren't governed by the ICANN rules for generic extensions; get the exact periods from your registrar.

Domain and DNS checklist

  • Auto-renewal is on; the payment method and contact email are up to date, and the email is on a different domain.
  • The transfer lock (clientTransferProhibited) is on.
  • There are at least two nameservers on different networks, and the nameservers in WHOIS match those in DNS.
  • The root domain and www resolve; there's no CNAME at the root.
  • MX, SPF, DKIM and DMARC records are in place; domains that don't receive email have a null MX.
  • If there's a CAA record, it includes every certificate authority you use.
  • If DNSSEC is on, the DS record matches the current provider's key.
  • There's an up-to-date backup of the zone file.

Frequently asked questions

How long does DNS propagation take?

As long as the record's old TTL: a few minutes if the TTL is 300 seconds, a day if it's 86400 seconds. For nameserver changes, the extension's own cache time is added; for .com that's two days. Lowering the TTL before a change shortens the wait.

Can I add a CNAME record to the root domain?

Not in standard DNS: because the root domain has SOA and NS records, a CNAME can't be added. If your provider supports it, use CNAME flattening or an ALIAS record; otherwise enter the A record your platform gives you and use a CNAME for www.

Why does a site go down when changing hosting?

Usually because the old server was shut down too early, or because the certificate wasn't ready on the new server. Lower the TTL in advance, test the new server through the hosts file, install the certificate beforehand and keep the old server running until the old TTL has expired.

Will changing nameservers affect my email?

Not if you copied the MX, SPF, DKIM and DMARC records to the new DNS provider in full. A missing MX record means email isn't delivered, and a missing DKIM record sends email to the spam folder.

What happens if my domain expires?

The site and email stop working. With generic extensions, the registrar's grace period comes first, followed by a redemption period of about 30 days with an extra fee; after that, the domain is deleted and opened for registration again. Turn on auto-renewal and keep your contact email up to date.

Should I turn on DNSSEC?

If your DNS provider and registrar support it, turning it on protects your DNS answers against forgery. But it needs care when moving: if you don't remove the DS record before changing DNS providers, validating resolvers can't open your site.

Related guides and tools