Glossary
DNS (Domain Name System)
Definition
DNS (Domain Name System): The distributed directory of the internet. DNS turns domain names into resource records, such as a website's address, a domain's mail servers (MX) and text records (TXT) for SPF, DKIM and DMARC, as defined in RFC 1034 and RFC 1035.
Also known asDomain Name SystemDomain Name Servicename resolution
In short
DNS, the Domain Name System, is the distributed directory that turns domain names into the records computers need: website addresses, the mail servers for a domain, and text records such as SPF, DKIM and DMARC. Each domain's owner publishes records for their part of the tree, and resolvers cache the answers for a set time, which is why DNS changes take a while to reach everyone.
Key takeaways
- DNS answers questions about names, such as which servers accept mail for example.com.
- Every answer is a resource record with a name, a time to live, a type and data.
- Resolvers cache answers for the record's TTL, so changes reach everyone only after old answers expire.
- Email trust lives in DNS. SPF, DKIM and DMARC are all published there.
- Whoever controls your DNS account controls where your mail goes, so protect it like an email account.
Last reviewed 30 November 2026
DNS, the Domain Name System, is the internet's directory. It turns names like example.com into the records computers need, such as the address of a web server or the servers that accept mail for a domain. RFC 1034 states the goal plainly: "a consistent name space which will be used for referring to resources." Every website visit and every email delivery starts with a DNS lookup.
How a lookup works#
The name space is a tree, read from right to left: the root, then com, then example. Each organization runs, or rents, the name servers for its own part of the tree. RFC 1034 describes two kinds of software: name servers "hold information about the domain tree's structure," and resolvers "extract information from name servers in response to client requests."
When a server has mail for jane@example.com, its resolver asks for the domain's records and gets answers like these:
example.com. 3600 IN MX 10 mx1.example.net.
example.com. 3600 IN TXT "v=spf1 include:_spf.example.net ~all"
www.example.com. 3600 IN CNAME example.com.Each line is a resource record: a name, a time to live, a class, a type and data. RFC 1035 defines the common types, including A ("a host address"), MX ("mail exchange"), TXT ("text strings") and CNAME ("the canonical name for an alias").
What short definitions miss#
Changes aren't instant. The number after each name is the TTL, which RFC 1034 calls "a time limit on how long an RR can be kept in a cache." A resolver that fetched your old MX record keeps using it until that time runs out. Lowering the TTL a day before a mail move shortens the overlap.
Email trust lives in DNS. SPF, DKIM and DMARC are all published as DNS records, so anyone who can edit your zone can redirect or impersonate your mail. Protect your DNS host account with two-step verification.
Your registrar and your DNS host can differ. Records go wherever your domain's name servers point, which may not be the company you bought the domain from.
In Foxcolab#
To use your own domain with Foxcolab Mail, add it to your organization and publish the records the Domains tab lists: one MX record at @ for incoming mail and four TXT records for ownership, SPF, DKIM and DMARC. Select Verify DNS, and each record shows Verified or Setup Required, with anything Foxcolab found instead under Currently detected:. Once mail flows, mail from one Foxcolab user to another is end-to-end encrypted.
Custom domains start on the Pro plan. See plans, or read the SPF, DKIM and DMARC guide.
Keep exploring
Related terms
- MX recordAn MX record is the DNS entry that names the servers accepting email for a domain and sets the order in which sending servers try them.
- DNS TXT recordA TXT record is the DNS record that holds free-form text. Email authentication, DKIM keys and domain-verification tokens all live in TXT records.
- CNAME recordA CNAME record makes one DNS name an alias of another. It's handy for hosted services, but a name with a CNAME can't hold any other record.
- SPF (Sender Policy Framework)SPF is a DNS record that lists which servers may send email for your domain, so receiving servers can spot mail from anywhere else.
- DKIM (DomainKeys Identified Mail)DKIM adds a cryptographic signature to outgoing email so receivers can confirm the message came from your domain and wasn't changed on the way.
- DMARCDMARC ties SPF and DKIM to the From address people see, tells receivers what to do with mail that fails, and sends you reports on who's sending as your domain.
- MTA-STSMTA-STS lets a domain tell sending mail servers to deliver only over TLS, to named hosts with valid certificates. It closes the downgrade gap that STARTTLS leaves open.
Where Foxcolab uses it
Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.