What DNS is
DNS, the domain name system, is the internet's address book. People remember names like example.com. Computers find each other using numbers called IP addresses, a bit like phone numbers for machines. DNS is the service that translates the name into the number.
Every time you open a website, send an email or use an app that talks to a server, your device first asks DNS where the name points. The answer usually comes back in a fraction of a second, so most people never notice it. But nothing on the internet that uses a name works without it.
How a lookup works
When you type a web address, your device asks a DNS resolver, a server usually run by your internet provider or a public service such as Cloudflare or Google. If the resolver has recently looked up the same name, it answers from memory. This stored answer is called a cache.
If not, it asks its way down a chain. First it asks a root server which servers are responsible for the ending, such as .com or .se. Those servers point it to the name servers for the specific domain. The domain's name servers hold the actual records and give the final answer.
The resolver passes the answer back to your device and keeps a copy for a set time, called the TTL, short for time to live. That is why changes to DNS do not always show up everywhere at once: some resolvers keep using the old answer until their copy expires.
The records a domain owner controls
If you own a domain, you control its DNS records, usually through the company where you registered the domain or through a DNS service. A few kinds of record matter most.
An A record points the name to an IP address, which is how your website is found. A CNAME record points one name to another name, often used when a service such as a web shop platform hosts part of your site. MX records say which servers receive email for the domain. TXT records hold short pieces of text, used to prove you own the domain to services like Google or Microsoft and to publish email security rules.
These records are small, but they decide where your website lives, where your email goes and which outside services are trusted to act in your name.
DNS and email security
Email was designed without any way to prove who sent a message. Three standards published through DNS fill that gap. SPF lists which servers are allowed to send email for your domain. DKIM adds a digital signature to each message, so the receiver can check it was not changed and really came from your domain. DMARC tells receivers what to do with messages that fail these checks, such as reject them, and where to send reports.
Without them, anyone can send email that looks like it comes from your address, which makes invoice fraud and phishing easier. Large email providers such as Gmail and Outlook increasingly filter or reject email from domains that lack these records, so missing them can also mean your own legitimate email ends up in spam.
Where DNS goes wrong
Most DNS problems are not attacks. They are everyday mistakes. A domain expires because the renewal notice went to an old employee's email address, and the website and email stop working. A record is changed during a move to a new web host and email breaks because the MX records were overwritten. An old record still points to a service the company no longer uses, which in some cases lets someone else take over that name.
There are also attacks. Someone who gets into the account where your DNS is managed can redirect your website or email anywhere. That is why the login to that account deserves the same protection as online banking: a strong password, two-step verification and a list of who has access.
What it means for a small business
For a small business, DNS is a short list of settings with a big impact. The website, the email and many cloud services depend on them. Losing control of the domain is one of the few IT problems that can shut down a small company's online presence and email at the same time.
A few habits cover most of the risk. Make sure the domain is registered in the company's name, with a contact address that someone checks. Turn on automatic renewal. Protect the account with two-step verification. Check that SPF, DKIM and DMARC are set up for your email. And keep a simple note of what each record is for, so changes do not break something by accident.
When a web agency or IT partner makes changes, ask them to note what they changed and why. A few lines in a shared document are enough, and they save hours the next time something stops working.