Skip to main content
92 Nodes
Back to Blog

DNS Records Explained for Beginners: A, CNAME, MX, TXT, Nameservers, @ and www

Published on September 22, 2026 by Muhammad Raza Bangi

You Typed a Name, But the Internet Needs an Address

Imagine you want to visit a friend's house for the first time. You know their name — but a name alone will not get you there. You need their street address. So you open a directory, look up the name, find the address, and drive there.

Visiting a website works almost exactly the same way. A visitor wants to open 92nodes.com. They know the name, but their computer does not yet know the numeric address of the server that name points to. DNS (the Domain Name System) is the directory that looks up the name and returns the address. Once the browser has that address, it connects to the correct server directly.

This guide uses that same idea — domain names as easy-to-remember names, and DNS as the address directory that connects them to real servers — throughout. Every technical word is explained the first time it shows up, so if you have never touched a DNS dashboard before, you can follow this end to end.

1. What Is DNS? The Internet's Address Directory

Every device on the internet — every server, every phone, every laptop — is reachable at a numeric IP address (Internet Protocol address), something like 192.0.2.10. Computers are perfectly happy working with numbers like that. People are not — we remember names, not strings of digits.

DNS solves that mismatch. It is a distributed, publicly queryable directory that maps human-friendly domain names (like 92nodes.com) to the IP addresses and other technical details that keep the internet running. Using the address analogy throughout this guide:

Where the analogy stops: A directory only tells you where a building is — it does not unlock the door, check your ID, or guard the property. DNS only finds the correct server; it plays no role in login, authentication, or access control, and it does not encrypt anything. Those are separate systems (like HTTPS/TLS, a firewall, or a login form) that run only after DNS has already done its one job.

In simple words: DNS is a lookup system. It turns a name into an address so a browser knows where to connect — nothing more, nothing less.

Quick answer

What is DNS?

DNS (Domain Name System) is the internet's directory service. It converts a domain name like example.com into the IP address a computer needs to actually connect to that site's server.

2. What Happens After You Type a Domain

When a visitor types 92nodes.com and presses enter, a short chain of lookups happens — usually in a fraction of a second — before the browser ever contacts the actual website.

Visitor / BrowserRecursive resolverRoot DNS.com TLD serverAuthoritative nameserverWeb server
  1. A visitor enters a domain, such as 92nodes.com, in their browser.
  2. The browser and operating system first check their own cache — have they looked this up recently? If so, they may already have a recent answer saved.
  3. If not, a recursive DNS resolveris contacted (often run by the visitor's internet provider or a public service like Cloudflare's 1.1.1.1 or Google's 8.8.8.8). Its job is to do the legwork of finding the answer.
  4. The resolver asks a root DNS server, which does not know the answer directly but points it toward the correct TLD (top-level domain, like .com) server.
  5. The .com TLD server does not know the final answer either, but it knows which nameservers are authoritative for 92nodes.com, and points the resolver there.
  6. The authoritative nameserver— the office that actually holds this domain's directory entry — returns the requested DNS record, such as an A record containing an IP address.
  7. The resolver hands that IP address back to the visitor's browser.
  8. The browser opens a connection directly to the server at that IP address.
  9. From there, HTTPS/TLS (the padlock in the address bar) and the web server itself take over to securely deliver the actual website. DNS's job is already finished by this point.

In simple words: Finding a website is a relay race: browser asks resolver, resolver asks root, root points to .com, .com points to the domain's own nameserver, and that nameserver gives the final answer.

3. DNS Dashboard Fields Explained

Before looking at individual record types, it helps to know what you are actually filling in. Almost every DNS provider's "add record" form asks for some combination of the same fields, just sometimes under different labels:

FieldWhat it means
TypeWhich kind of record you are creating — A, CNAME, MX, TXT, and so on.
Name / HostThe hostname the record applies to. This is where @, a blank field, or www usually goes (see the next section).
Target / Value / Content / Points ToWhat the record resolves to — an IP address for an A record, another hostname for a CNAME, quoted text for a TXT record, and so on.
PriorityUsed mainly by MX (and, alongside weight, by SRV) to say which destination should be tried first. Lower numbers are usually tried first.
TTLTime to live — how many seconds a resolver is allowed to cache this record's answer before it must ask again.
Proxy statusProvider-specific (notably Cloudflare's orange-cloud toggle). When enabled, traffic is routed through the provider's proxy/CDN instead of connecting straight to your server's real IP.

Labels vary by provider: "Value", "Content", "Target", and "Points To" all mean the same thing at different DNS providers. There is no universal standard label — always match what your specific provider's interface and documentation call it.

4. What @, a Blank Host, and www Actually Mean

This is one of the most confusing parts of DNS for beginners, and it is worth slowing down for.

What @ represents

@ is a shorthand many DNS providers use for the zone apex, also called the root domain or bare domain — the domain by itself, with no subdomain label in front of it. For 92nodes.com, @ means exactly 92nodes.com, nothing more.

Common mistake: @ is not part of the public domain name. Nobody ever types @92nodes.com into a browser — @ is purely an editing convention inside the DNS dashboard for "the root domain itself."

What www represents

www is simply a hostname label. Combined with a domain, it forms www.92nodes.com — technically a subdomain, even though decades of convention have made it feel like "the same thing" as the main website. There is no technical rule requiring www; it became a habit in the early web and many sites still support or default to it.

Because @ and www are two different hostnames, they do not automatically point to the same place. Both need their own DNS record, or one needs to be configured to lead to the other, and often a redirect is added so visitors always land on whichever version you prefer.

TypeNameValuePurpose
A@192.0.2.10Points 92nodes.com to an IPv4 server
CNAMEwww92nodes.comMakes www.92nodes.com resolve through the main hostname

Example data only: 192.0.2.10above is a reserved documentation-only IP address (per RFC 5737) used purely to illustrate the format of an A record. Do not copy it into a real production DNS setup — use the actual IP address your own host or server provides.

A DNS record is not the same thing as a redirect

These two configuration tables often get confused with each other, but they operate at different layers:

CNAME and apex limitations: A CNAME generally cannot coexist with other records at the exact same hostname, and by the original DNS standard a CNAME is not allowed at the zone apex at all, because the apex must also carry mandatory SOA and NS records. Some DNS providers offer a proprietary workaround — often called CNAME flattening, ALIAS, or ANAME — that behaves like a CNAME internally while still publishing a standard A/AAAA record externally. This is a provider-specific feature, not a guaranteed universal DNS behavior, so confirm your provider actually supports it before relying on it.

Quick answer

What does @ mean in DNS?

@ is a common shorthand for the root domain itself (the zone apex) — for example, just 92nodes.com with no subdomain in front of it. Depending on the provider, you may instead need to leave the field blank or type the full domain name.

Quick answer

Is www a CNAME?

Not inherently — www is just a hostname label. It is very commonly configured as a CNAME pointing at the root domain, but it can also be set up as its own direct A or AAAA record. Either approach is valid; the choice depends on your provider and setup.

Quick answer

What is the difference between an A record and a CNAME?

An A record points a hostname straight at a numeric IPv4 address. A CNAME points a hostname at another hostname, which is then looked up separately. A records resolve to addresses; CNAMEs resolve to names.

In simple words: @ means "the domain by itself." www means "the www subdomain." They are two separate DNS entries, not two names for the same thing.

5. Registrar vs DNS Provider vs Nameserver vs Hosting

A single company sometimes offers several of these services under one roof, which makes it easy to assume they are the same thing. Conceptually, they are not — and understanding the difference is what makes troubleshooting DNS problems possible.

ItemWhat it isReal-world analogyExample
Domain registrarWhere the domain name itself is registered and renewedProperty registry officeNamecheap
DNS providerStores the authoritative DNS records for the domainThe official address directoryCloudflare
NameserverTells the rest of the internet where that directory is hostedThe directory office's own addressProvider-assigned nameservers
Web hostThe server the website actually runs onThe physical buildingVercel, a VPS, or shared hosting
Email providerHandles sending and receiving email for the domainThe post officeGoogle Workspace or Microsoft 365

A realistic setup often mixes all five:

Two distinctions matter a lot in practice:

Common mistake: Editing DNS records in the registrar's dashboard has no effect if the nameservers have already been pointed elsewhere — the registrar's own DNS panel is no longer authoritative. Always confirm which provider your current nameservers actually point to before editing records.

Nameserver changes are bigger than record changes: Changing nameservers moves authority for the entire domain to a new provider at once. If the website, email, and verification records that existed at the old provider are not recreated at the new one, those services can break — even though the visible action was "just changing nameservers." This is different from delegating a single subdomain with its own NS records, which hands off authority for only that one subdomain while leaving the rest of the domain untouched.

In simple words: The registrar sells you the name. The DNS provider stores the directory entries. The nameserver tells the internet where that directory lives. The host runs the actual site.

6. DNS Record Types at a Glance

Here is every record type covered in this guide, side by side, before the detailed breakdown below.

TypeFull nameWhat it points toCommon use
AAddress recordAn IPv4 addressPointing a hostname to a website server
AAAAIPv6 address recordAn IPv6 addressSame as A, for IPv6 networks
CNAMECanonical Name recordAnother hostnameAliasing www or a subdomain to another host
MXMail Exchange recordA mail server hostname, with priorityRouting incoming email
TXTText recordArbitrary textOwnership verification, SPF, DKIM, DMARC
NSName Server recordA nameserver hostnameDeclaring who is authoritative for a zone
CAACertification Authority AuthorizationAn allowed certificate authorityRestricting who can issue SSL certificates
SRVService recordA hostname, port, priority, and weightLocating a specific service, like SIP or chat
PTRPointer recordA hostnameReverse lookup — IP address to hostname
SOAStart of Authority recordZone administration dataAutomatic zone metadata, rarely hand-edited
DSDelegation Signer recordA cryptographic key digestLinking DNSSEC trust from the parent zone
DNSKEYDNS Key recordA public cryptographic keySigning records for DNSSEC validation

Which records does a normal website usually need?: Most personal or small-business sites only ever touch four record types day to day: an A (or AAAA) record for the website itself, a CNAME for www or other subdomains, an MX record for email, and a few TXT records for email security and ownership verification. NS is usually set once by whichever DNS provider you choose. CAA, SRV, PTR, SOA, DS, and DNSKEY are typically automatic, provider-managed, or something your host configures for you.

7. DNS Record Types Explained in Detail

A Record

What it does:Maps a hostname directly to an IPv4 address — the most basic "this name lives at this number" entry in the directory.

Analogy: The street address written next to a name in the directory.

Type: A
Name: @
Value: 192.0.2.10
TTL: 3600

Multiple A records: A hostname can have more than one A record. Resolvers will then hand out one of the listed addresses, often rotating between them — a simple form of load distribution. It does not check whether a server is actually healthy on its own.

Domain vs IP: A domain (92nodes.com) is the name; an IP address (192.0.2.10) is the address that name points to. The A record is the line in the directory that connects the two.

Common mistake:Leaving an A record pointing at an old hosting provider's IP address after migrating to a new host — the domain keeps resolving to a server that no longer serves the current site.

Do you usually need to edit it? Yes — this is one of the records most website owners edit directly, typically once when setting up hosting and again if hosting changes.

AAAA Record

What it does: The IPv6 equivalent of an A record — maps a hostname to an IPv6 address instead of an IPv4 one.

Analogy: The same directory entry, just written in the newer, much longer address format that IPv6 uses.

Type: AAAA
Name: @
Value: 2001:db8::1
TTL: 3600

How it differs from A: IPv4 addresses (used by A records) are running out of unique numbers globally; IPv6 (used by AAAA records) uses a much larger address space designed to replace it long-term. Many networks and devices support both today.

Common mistake: Devices that prefer IPv6 will try the AAAA record first. An AAAA record that is missing, stale, or pointing at a server that is not actually reachable over IPv6 can make the site slow or fail for those visitors, even while it loads fine for everyone using IPv4 only.

Do you usually need to edit it? Only if your host provides IPv6 hosting and asks you to add one — otherwise it is safe to leave out entirely; a missing AAAA record simply means IPv6-preferring devices fall back to the A record.

CNAME Record

What it does: Makes one hostname an alias of another hostname. Whoever looks up the alias gets redirected, at the DNS level, to look up the target hostname instead.

Analogy:A forwarding note in the directory that says "for this name, go look up this other name instead."

Type: CNAME
Name: www
Value: 92nodes.com
TTL: 3600

Type: CNAME
Name: blog
Value: hosting-provider-target.example.net

Use cases: Pointing www at the root domain, pointing a subdomain like blogat a third-party platform, or connecting a subdomain to a CDN or SaaS product's hostname.

Important rule:A CNAME's target must be a plain hostname, never a full URL. Do not include https://, a trailing slash, or any path — the value should look like a domain name, not something you'd paste into a browser's address bar.

Do you usually need to edit it?Yes — commonly for www and any third-party service that asks you to "point a CNAME" at their platform. See the apex limitation and provider-specific flattening/ALIAS/ANAME note in section 4 above before trying to use a CNAME on the root domain.

MX Record

What it does: Tells the internet which mail servers are responsible for accepting email sent to addresses at your domain.

Analogy: A primary post office and a backup post office — mail is tried at the primary first, and only routed to the backup if the primary cannot be reached.

TypeNameValuePriority
MX@mx1.example-mail-provider.com10
MX@mx2.example-mail-provider.com20

Priority: Lower numbers are normally tried first. In the example above, mx1 (priority 10) is the primary mail server, and mx2 (priority 20) only receives mail if the primary is unavailable.

Important:An MX record's value must be a mail server hostname, not an ordinary web URL and not an IP address.

Common mistake: Replacing or deleting existing MX records while changing unrelated DNS settings (like website hosting) is one of the fastest ways to stop all incoming email without realizing it until messages start bouncing.

Do you usually need to edit it? Yes, once — when setting up or switching your email provider (such as Google Workspace or Microsoft 365) — and it should otherwise be left untouched.

TXT Record

What it does: Stores arbitrary text in the DNS directory. It is a general purpose slot used for several unrelated, important jobs:

These three email-security mechanisms are related but distinct — SPF checks the sending server, DKIM checks message integrity via a signature, and DMARC decides what to do based on the results of both. They are not interchangeable, and most legitimate mail setups use all three together.

; SPF
example.com.        TXT  "v=spf1 include:_spf.example-mail-provider.com -all"

; DKIM (public key shortened for readability)
default._domainkey  TXT  "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEB..."

; DMARC
_dmarc.example.com. TXT  "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com"

; Domain ownership verification
example.com.         TXT  "google-site-verification=exampleTokenOnly"

Never store secrets in TXT records: DNS records, including TXT records, are generally publicly readable by anyone who queries your domain. Never publish real passwords, API keys, private keys, or other secrets in a TXT record — only publish values a provider specifically designed to be shown this way, such as verification strings and email-authentication policies.

Do you usually need to edit it? Yes — most sites accumulate several TXT records over time for email security and third-party verification, and they should be preserved carefully during any DNS migration.

NS Record and Nameservers

What it does: Declares which nameservers are authoritative for a domain (or subdomain) — in other words, which DNS provider holds the real directory entries.

Analogy:The sign outside the directory office telling you which office actually has this domain's file.

example.com.  NS  ns1.example-dns-provider.com.
example.com.  NS  ns2.example-dns-provider.com.

NS records for the whole domain are normally changed at the registrar (this is what "changing nameservers" means). Individual DNS records like A, CNAME, MX, and TXT are then managed inside whichever DNS provider those nameservers point to — see the full comparison in section 5.

Delegating a subdomain is different: Adding NS records for a specific subdomain (for example, handing shop.example.com off to a different provider) only transfers authority for that one subdomain. It is a much smaller, more contained change than replacing the nameservers for the entire domain.

Common mistake: Changing nameservers when only a single A or CNAME record actually needed to change. This moves the entire domain's DNS to a new provider and risks breaking every service that depended on records left behind at the old one — including email.

Do you usually need to edit it? Rarely — typically only once, when first choosing a DNS provider, or deliberately migrating to a different one.

CAA Record

What it does: Restricts which certificate authorities (organizations that issue SSL/TLS certificates) are allowed to issue a certificate for your domain.

Analogy:A note on file saying "only this specific notary is allowed to certify documents for this address."

example.com.  CAA  0 issue "letsencrypt.org"

Common mistake: Adding a restrictive CAA record and then forgetting about it — if it does not list the certificate authority your host actually uses, certificate issuance or renewal can fail, breaking HTTPS.

Do you usually need to edit it? No, not for most sites. Many domains have no CAA record at all, which permits any certificate authority. Only add one deliberately, as an extra security measure, and keep it in sync with whichever authority your host uses.

SRV Record

What it does: Helps a client application locate a specific service — the exact server, port, and protocol to connect to — rather than assuming a fixed, well-known port.

Analogy:Instead of just an address, this is a note saying "go to this address, ask for this specific department, on this specific floor."

_sip._tcp.example.com.  SRV  10 5 5060 sipserver.example.com.
FieldMeaning
PriorityLower value is tried first, similar to MX priority (10 in the example)
WeightRelative preference among records that share the same priority (5)
PortThe network port the service listens on (5060)
TargetThe hostname that actually runs the service (sipserver.example.com)

Common uses include VoIP/SIP communication systems, some enterprise directory and chat services, and certain game server discovery setups.

Do you usually need to edit it? Only when a specific service you are integrating explicitly asks you to add one — most standard websites never need an SRV record.

PTR Record (Reverse DNS)

What it does: The reverse of an A record — given an IP address, it returns a hostname, instead of the other way around.

Analogy: Looking a street address up in the directory to find out whose name is on file there, instead of looking a name up to find the address.

10.2.0.192.in-addr.arpa.  PTR  mail.example.com.

This example is the reverse-lookup entry for the documentation address 192.0.2.10. PTR records are usually controlled by whoever owns the IP address — your VPS or hosting provider — not created in your domain's normal forward DNS zone. They matter most for mail servers, where a missing or mismatched PTR record can hurt sender reputation and cause outgoing email to be flagged as spam.

Do you usually need to edit it?Rarely directly — for a typical website owner this is either not applicable or handled through your hosting/VPS provider's control panel, not your domain's DNS zone.

SOA Record

What it does: Holds administrative information about an entire DNS zone — which nameserver is primary, an administrative contact, and timing values other nameservers use to stay in sync.

Analogy: The cover page of the directory entry, listing who maintains it and when it was last updated — not an actual address entry itself.

example.com.  3600  IN  SOA  ns1.example-dns-provider.com. admin.example.com. (
    2026092201 ; serial number
    7200       ; refresh interval (seconds)
    3600       ; retry interval (seconds)
    1209600    ; expire time (seconds)
    3600 )     ; minimum TTL (seconds)

Do you usually need to edit it? No — the SOA record is created and maintained automatically by your DNS provider. Most users should not edit it manually.

DS and DNSKEY Records (DNSSEC)

What they do: Together, these implement DNSSEC (Domain Name System Security Extensions), which lets resolvers cryptographically verify that DNS answers have not been tampered with in transit.

Analogy: DNSKEY is the official seal your office stamps its own documents with. DS is the record the higher authority keeps on file confirming that seal is genuinely yours.

; DS record (submitted at the registrar/parent zone)
example.com.  DS       12345 13 2 3B1EAB4F5F5C6B5C...

; DNSKEY record (published in your own zone)
example.com.  DNSKEY   257 3 13 mdsswUyr3DPW132mOi8V9xE...

Warning: Enabling or changing DNSSEC incorrectly — publishing a DS record that does not match your current DNSKEY, or removing one out of order — can make your entire domain stop resolving for every visitor using a validating resolver. Follow your specific DNS provider and registrar's documented DNSSEC enable/disable process exactly; do not hand-edit these records without provider instructions.

Do you usually need to edit it?No — if you use DNSSEC at all, enable and manage it through your DNS provider and registrar's dedicated DNSSEC controls, not by writing these records by hand.

8. TTL, Caching, and DNS Propagation

TTL (time to live) is a number, in seconds, attached to every DNS record. It tells any resolver that looks the record up how long it is allowed to reuse that answer from its cache before it must ask again. Using the directory analogy: TTL is like someone jotting an address down in their own notebook so they do not have to look it up again — they keep using their written note until it expires.

This is exactly why DNS changes can appear inconsistent: one visitor's resolver might have already fetched a fresh answer, while another visitor's resolver is still using its own cached copy from before the change, with time left on its TTL.

Time since the record was changedWhat a resolver caching the old value sees
0 minutesChange saved at the DNS provider. Resolvers with a fresh cached copy still show the old value.
Up to 60 minutes (with a 3600-second TTL)Each resolver keeps serving its own cached answer until that specific copy's TTL runs out.
After 60 minutesAny resolver that had cached the old value at the moment of the change has now expired it and will fetch the new value on its next query.
Immediately, for new lookupsA resolver that never cached this domain before gets the new value right away on its first query.

A few things worth being precise about:

In simple words: TTL is a cache expiry timer. Lower TTL means faster-visible changes but more DNS lookups; higher TTL means fewer lookups but slower-visible changes.

Quick answer

How long do DNS changes take?

It depends on the previous TTL and how many resolvers cached the old answer — anywhere from a few minutes to roughly a day, not a fixed 24–48 hours. Lowering TTL in advance, before you make the change, is what actually speeds this up.

9. Practical DNS Configuration Examples

Example 1: Root domain and www on a traditional server

TypeNameValueTTL
A@192.0.2.103600
CNAMEwwwexample.com3600

192.0.2.10is a reserved documentation-only address, not a real server — replace it with your own server's actual IP address.

Example 2: Connecting a domain to a managed host

Managed platforms like Vercel commonly ask for an A record on the apex, a CNAME on www, or sometimes a provider-specific record type, and their required target values can change over time. Always copy the exact values shown in your own project's dashboard at the moment you configure it — not generic values from an article or an older tutorial — since a mismatched or outdated target will fail domain verification.

Example 3: Website and email hosted separately

The website and email for one domain routinely live at two completely different companies, using different record types that do not interfere with each other:

TypeNameValuePurpose
A@192.0.2.10Website (hosting provider)
CNAMEwwwexample.comWebsite alias
MX@mx1.example-mail-provider.com (priority 10)Email (mail provider)
TXT@v=spf1 include:_spf.example-mail-provider.com -allEmail sender authorization

Use the exact MX and TXT values your email provider's own setup documentation gives you — Google Workspace and Microsoft 365, for instance, each publish their own current records rather than a single fixed value that works for everyone.

Example 4: Creating a subdomain

GoalTypeNameValue
blog.example.comCNAMEbloghosting-target.example.net
api.example.comAapi192.0.2.20
portal.example.comCNAMEportalportal-target.example.net

Most dashboards only want the label itself — blog, api, or portal — in the Name field, though a few providers display or accept the fully written-out hostname instead.

Example 5: Moving from old hosting to new hosting

  1. Lower the TTL on the records you plan to change (for example, to 300 seconds) a day or more before the migration, so any later change expires from caches quickly.
  2. Record or export your current DNS entries so you have a complete backup to compare against.
  3. Change only the records that actually need to move — typically A/AAAA and possibly CNAME — not the whole zone.
  4. Preserve MX, SPF, DKIM, DMARC, and any domain-verification TXT records exactly as they were, unless the migration specifically requires changing them too.
  5. Test the new server before fully relying on DNS — for example, by temporarily overriding the hostname in your local hosts file so only your own machine sees the new server. See our guide to the Linux and macOS filesystem for exactly how that file works.
  6. Once records are updated, wait for the old TTL to fully expire before assuming every visitor sees the new server.
  7. Raise the TTL back to a normal value (such as 3600 seconds or higher) once everything is confirmed working.

Set expectations honestly: This process minimizes visible downtime, but it does not guarantee zero downtime — some visitors with long-cached DNS answers may briefly reach the old server after the new one is already live, or vice versa, until caches catch up.

10. How to Check DNS Records

A handful of free command-line tools, already built into most operating systems, can check exactly what DNS is currently returning for a domain:

dig example.com A            # Show the current A record(s)
dig www.example.com CNAME    # Show what www is aliased to
dig example.com MX           # Show mail server records and priority
dig example.com TXT          # Show TXT records (SPF, DKIM, DMARC, verification)
dig example.com NS           # Show which nameservers are authoritative
dig +trace example.com       # Walk the full path: root -> TLD -> authoritative nameserver
nslookup example.com         # A simpler, cross-platform DNS lookup tool
CommandWhat it checks
dig example.com AThe current IPv4 address(es) the domain resolves to.
dig www.example.com CNAMEWhat hostname www is currently aliased to, if any.
dig example.com MXWhich mail servers are configured to receive email, in priority order.
dig example.com TXTAll published text records — SPF, DKIM, DMARC, and verification strings.
dig example.com NSThe nameservers currently marked authoritative for the domain.
dig +trace example.comThe full delegation path a resolver follows, from the root down to the authoritative nameserver — useful for spotting exactly where a lookup breaks.
nslookup example.comA quick, simpler alternative to dig for a basic address lookup.

Browser-based tools such as DNSChecker.org are also useful — they query several public resolvers around the world at once, which makes it easy to see whether a change has reached some resolvers but not others. Let it query the record type you care about (A, AAAA, CNAME, MX, NS, PTR, SRV, SOA, TXT, CAA, DS, or DNSKEY) and compare the results side by side.

What is actually authoritative: A public checker is convenient for comparing cached results across locations, but it is not the ultimate source of truth. The most direct, current answer always comes from querying your domain's authoritative nameserver directly (which dig can do explicitly) — public resolvers shown in a checker may still be serving a cached value.

11. DNS Troubleshooting Checklist

  1. Confirm the domain is active and has not expired at the registrar.
  2. Check which nameservers are actually configured at the registrar right now.
  3. Confirm those nameservers match the DNS provider you are trying to edit records in.
  4. Verify @ (the root domain) and www separately — do not assume one working means the other does too.
  5. Check for A, AAAA, and CNAME conflicts at the same hostname.
  6. Check whether an old, stale AAAA record exists that no longer matches your current server.
  7. Confirm the record's value does not contain https:// or a URL path — it should be a bare hostname or IP address.
  8. Check the record's TTL and whether cached results elsewhere could still be showing an old value.
  9. Confirm hosting-side domain verification has completed (many hosts show a pending/verified status).
  10. Check SSL/TLS certificate status only after DNS has actually resolved correctly — certificate issuance depends on DNS being right first.
  11. Preserve existing MX and TXT records related to email whenever changing other DNS settings.
  12. Check DNSSEC configuration if the domain returns validation failures or refuses to resolve for some networks.
  13. Test using both the domain's authoritative nameserver directly and common public resolvers, to see whether the difference is caching or an actual misconfiguration.

12. Common DNS Mistakes Beginners Make

13. DNS Safety Checklist

14. Frequently Asked Questions

Q: What is DNS in simple words?

A: DNS (Domain Name System) is the internet's address directory. It translates easy-to-remember domain names, like example.com, into the numeric IP addresses computers use to actually find and connect to a server.

Q: What does @ mean in a DNS record?

A: @ is shorthand many DNS providers use for the zone apex, also called the root domain — for example example.com by itself, with no subdomain in front of it. Some providers use @, some expect you to leave the Name/Host field blank, and some want the full domain typed out. Check your specific provider's interface.

Q: What does www mean in DNS?

A: www is a hostname label that, combined with your domain, forms a subdomain: www.example.com. It is not a special protocol requirement — it is simply the conventional name many sites use for their main website. www and the root domain (example.com) are separate hostnames and must each be configured.

Q: Should www be an A record or CNAME?

A: Either can work. A common pattern is to point the root domain (@) with an A (or AAAA) record to a server IP, then point www at the root domain with a CNAME so it always follows whatever @ resolves to. Some hosts instead ask for a direct A record on www — follow what your host's dashboard specifies.

Q: What is the difference between an A record and a CNAME?

A: An A record maps a hostname directly to an IPv4 address (a number). A CNAME maps a hostname to another hostname (a name), which the resolver then looks up again. A records point to addresses; CNAMEs point to other names.

Q: Can a domain have multiple A records?

A: Yes. Adding more than one A record for the same hostname is a simple form of load distribution — resolvers will hand out one of the listed IP addresses, often on a rotating basis. It does not provide health checking or failover on its own.

Q: Can I use a CNAME on the root domain?

A: Traditionally, no — a CNAME is not permitted to coexist with other records (like the mandatory SOA and NS records) at the zone apex, per the DNS standard. Some DNS providers offer a proprietary workaround, often called CNAME flattening, ALIAS, or ANAME, that behaves like a CNAME at the apex internally but still publishes an A/AAAA record externally. This is provider-specific, not a universal DNS feature.

Q: What happens if I change my nameservers?

A: Changing nameservers moves authority for your entire domain to a different DNS provider. Every record — website, email, verification, subdomains — must exist at the new provider or those services can stop working, even though you only meant to change one thing. It is a bigger, riskier change than editing a single record.

Q: Will changing website DNS affect email?

A: It can, if you are not careful. Email depends on MX and supporting TXT records (SPF, DKIM, DMARC), which are separate from the A/CNAME records that point to your website. Changing nameservers or bulk-editing DNS without preserving those records is a common way email delivery breaks.

Q: How long does a DNS change take?

A: It depends on the previous TTL (time to live) on the record, how many resolvers have it cached, and what kind of change it is. A record with a 300-second TTL can be fully refreshed within minutes almost everywhere; a record that previously had a 24-hour TTL may show old data to some users for up to a day. There is no single guaranteed number.

Q: Why does my site work without www but not with www?

A: Because @ (the root domain) and www are two separate hostnames with two separate DNS records. If only the root domain has a working A record and no record exists for www — or it points somewhere else — the root domain resolves fine while www fails or shows something different.

Q: Why does DNSChecker show different results by location?

A: Public DNS checker tools query multiple resolvers around the world at once. If you just changed a record, resolvers that cached the old value will keep showing it until their cached copy expires, while resolvers seeing the domain for the first time will show the new value immediately. That mix is what produces different results by location.

Q: Does DNS provide SSL or HTTPS?

A: No. DNS only resolves a hostname to an address so a browser knows where to connect — it does not issue certificates, encrypt traffic, or handle login and authentication. HTTPS/TLS is a separate layer, usually configured at your hosting provider or web server, once DNS is pointing correctly.

Q: What is the difference between DNS and a redirect?

A: A DNS record resolves a hostname to a destination server; the address bar keeps showing whatever hostname the visitor typed. An HTTP redirect (like a 301) is issued by a web server after DNS has already resolved, and it changes the URL the visitor sees. They solve different problems and often work together.

Q: Is it safe to add verification text to a TXT record?

A: Ordinary domain-ownership verification strings (from Google, Microsoft, and similar services) are safe and designed to be published this way. What is not safe is putting real secrets — passwords, private keys, API tokens — in a TXT record, because DNS records are generally publicly readable by anyone who queries your domain.

Q: How can I find my current authoritative nameservers?

A: Run a WHOIS lookup on your domain, or query the NS record directly with a command like dig example.com NS. The nameservers listed there are the ones actually authoritative for your domain right now, which may differ from what you remember setting if it was changed at some point.

15. DNS Cheat Sheet You Can Bookmark

Conclusion

DNS looks intimidating mostly because dashboards throw a lot of unfamiliar labels at you at once — Type, Name, Value, Priority, TTL — without explaining what any of them actually mean. Underneath all of that, it is still just a directory: a name goes in, an address comes out, and every record type in this guide exists to answer one specific kind of question about that domain, whether it is "where is the website," "where does email go," or "who is allowed to issue a certificate for this name."

Need help connecting your domain, fixing DNS records, or moving a website without disrupting email? The 92 Nodes team handles web development and ongoing support and maintenance for production sites, including exactly this kind of DNS and email setup.

For deeper technical reference beyond this guide: ICANN's overview of DNS fundamentals, Cloudflare's DNS documentation on record behavior and caching, and RFC 1035, the original DNS specification, for anyone who wants the full technical detail.

Get Your Free Quote Today

Let us build something great together!

Contact 92nodes

Written by

Muhammad Raza Bangi

Founder · Engineering

View profile