Skip to content
Email basics November 4, 2026 · 3 min read · By Smailor Team

Also in FrançaisEspañolDeutsch

What is DNS? How domain names find servers

DNS, the Domain Name System, is the directory of the internet. Computers reach each other with numeric addresses such as 203.0.113.10, and people type names such as example.com. DNS is what connects the two.

It does more than find websites. When someone sends you an email, their server asks DNS where mail for your domain should go. When your mail arrives somewhere, the receiving server asks DNS whether you were allowed to send it. A domain with wrong DNS can have a working website and no working email.

What happens during a lookup

Say your browser needs www.example.com:

  1. It asks a recursive resolver, usually run by your internet provider, or a public one such as 1.1.1.1 or 8.8.8.8.
  2. If the resolver has no recent answer, it asks a root server who handles .com.
  3. The root points to the TLD servers for .com, which point to the name servers of example.com.
  4. Those authoritative name servers hold the real records and give the answer.
  5. The resolver keeps the answer for a while and returns it to your browser.

All of this usually takes a few milliseconds, and the next request skips most of it thanks to the cache. How long the cache lasts is set by the TTL of each record.

The records you will actually meet

A DNS zone is a list of records. Each has a name, a type and a value.

Type What it does Example value
A Points a name to an IPv4 address 203.0.113.10
AAAA Points a name to an IPv6 address 2001:db8::10
CNAME Makes one name an alias of another shop.example.net
MX Says which servers receive mail for the domain 10 mail.example.com
TXT Holds free text, used for SPF, DKIM, DMARC and ownership checks v=spf1 include:... ~all
NS Names the servers that hold the zone ns1.provider.com
PTR Maps an IP address back to a name mail.example.com

Where your DNS is managed

Your DNS lives with whoever runs your name servers. That is often the company where you bought the domain (the registrar), but it can be somewhere else, such as Cloudflare or your web host. Run a lookup on your NS records to find out. Editing the zone at your registrar does nothing if the NS records point elsewhere, and this is the most common reason a DNS change seems to have no effect.

Frequently asked questions

Is DNS the same as a domain name?

No. The domain is the name you rent from a registrar. DNS is the system that says what that name points to. You can keep the domain and move its DNS to another provider.

Can changing DNS break my email?

Yes. Deleting or changing an MX record reroutes incoming mail, and removing SPF or DKIM records can send your outgoing mail to spam. Copy your current records somewhere before changing anything.

How do I see the DNS records of a domain?

On a terminal, dig example.com MX or nslookup -type=mx example.com. For the mail records, the Smailor domain check reads them for you, with no account.

When you add a domain to Smailor, it lists the records to create one at a time and checks them for you, so you do not have to work out the zone yourself. See how to add a custom domain.