DNS for Business Websites: What to Set Up and Protect
DNS is the system that turns your domain name into the address of the server holding your website and email. If it is set up well, nobody notices it. If it is wrong, or someone else gets control of it, your website and your email can disappear overnight. This guide covers what a UK business needs to know: the records that matter, who should hold the keys, and the checks worth doing this week.
TL;DR
- DNS is the internet’s address book. The NCSC describes it as just that, and both your website and your email depend on it.
- Most business sites need only four record types: A/AAAA, CNAME, MX and TXT. Simple and tidy beats clever.
- The biggest risk is not technical. It is a weak or shared login on the account where your domain is managed. Turn on 2-step verification today.
- Set sensible TTLs, use role-based contact emails, and remove old records when you drop a service.
- Before any hosting move or redesign, write down your current records first. It is the cheapest insurance there is.
Table of Contents
What DNS actually does for your business
When a customer types your web address, their device asks DNS where to go. DNS replies with an IP address, the device connects to that server, and your site loads. The same lookup happens whenever someone emails you: the sender’s mail system asks DNS where your mail should be delivered.
That is why the NCSC treats public domain names as the way an organisation is contacted and reached online. If DNS stops working or points the wrong way, you have not lost your website files, but nobody can reach them. For a business that takes enquiries by form or phone follow-up, that means a silent loss of work.
Two things are worth separating, because people mix them up all the time:
- The registrar is the company you registered the domain through. It records that you own the name.
- The DNS host is where the records live, the instructions saying where your website and email go. Often this is the same company as the registrar, your hosting company, or a separate service.
Knowing which company does which is half the battle. When something breaks, the first question we ask is: where are the DNS records actually managed?
The DNS records a business website needs
You do not need to understand the whole system. For a typical business website with email, these are the records to know. Cloudflare’s guide to DNS records is a good plain reference if you want the detail.
| Record | What it does | Typical example |
|---|---|---|
| A / AAAA | Points your domain to the IP address of your web server (A for IPv4, AAAA for IPv6) | yourbusiness.co.uk points to your hosting server |
| CNAME | Makes one name an alias of another | www.yourbusiness.co.uk points to yourbusiness.co.uk |
| MX | Tells the world which mail servers receive your email | Your email provider’s mail servers, with a priority number |
| TXT | Holds text used for verification and email security | SPF, DKIM and DMARC entries, plus domain ownership checks |
These four are also the ones GDS lists as the usual set when it covers the basics of website security. Anything beyond that, such as subdomains for a booking system or a shop, is usually one more A or CNAME record.
The CNAME rule that breaks email
There is one rule that catches out a lot of small businesses. A CNAME cannot sit alongside other records on the same name. Your root domain (yourbusiness.co.uk with nothing in front) normally carries your MX and TXT records, so it should use an A or AAAA record, not a CNAME. Reserve CNAMEs for subdomains such as www or blog.
We see the failure like this: someone is told to point their domain at a new platform using a CNAME, does it on the root, and a week later realises email has stopped arriving. If a provider’s instructions seem to ask for this, pause and ask them for an IP address or an alternative.
TXT records and email that actually arrives
If your invoices, quotes or replies land in spam, the cause is often missing email authentication. Three TXT-based entries do the work:
- SPF lists the servers allowed to send email as your domain.
- DKIM adds a signature to each message so receivers can check it has not been altered.
- DMARC tells receiving servers what to do with messages that fail those checks.
The NCSC and GDS material we have relied on makes the same point: email authentication through TXT records is what helps stop your domain being spoofed. Each time you add a tool that sends email for you, such as a newsletter platform, a CRM or accounting software, it usually needs adding to your SPF record. Forgetting this is the most common reason legitimate mail goes missing. We have written a separate piece on how to get your emails past spam filters if that is your main worry.
Who controls your DNS matters more than how it is configured
Here is the part most guides skip. The records themselves are only a few lines of text. The real danger is who can edit them.
GDS guidance is blunt that your registrar is where your domain is configured, and that you should make it harder for attackers to take it over. If someone gains control, they do not just own your website. They can redirect your traffic, intercept email and impersonate you to your customers.
In its advisory on DNS hijacking, the NCSC sets out the risks, from creating malicious records, for example to build phishing sites, through to taking a site down or intercepting data. In most cases the route in is not clever hacking. It is a stolen or reused password on the account that manages the domain.
A short account-security checklist
- Turn on 2-step verification. The NCSC says to ensure your registrar offers 2SV on its management portal and enable it for every administrator. If your provider does not offer it, treat moving the domain as an urgent job.
- Use a strong, unique password that is not shared with any other service or with colleagues.
- Use role-based contact emails, such as hostmaster@yourbusiness.co.uk, rather than one person’s address. When that person leaves, or their mailbox is compromised, you do not lose control or miss a renewal notice. The NCSC’s DNS hijacking advisory recommends this approach.
- Ask about extra locks. Ask your registrar whether it offers additional safeguards against takeover, such as registry locks where available.
- Know who has access. List every person and every supplier with a login. Remove anyone who no longer needs it.
If you want a broader view beyond domains, our website security best practices checklist and guide to the role of security in websites cover the rest of the picture.
Should registrar and DNS host be separate?
Many businesses leave both with one company by default, and for a small site that is perfectly reasonable. Separating them can add protection against a takeover of the registrar account, but only if you then secure both logins properly. Two accounts with weak passwords are worse than one well-protected account. If you are not sure you will keep on top of both, simple and well-locked is the better choice.
TTL: the setting that decides how fast changes happen
TTL (Time to Live) tells the internet how long it may remember a record before asking again. Short TTLs mean changes spread quickly. Long ones mean fewer lookups and fewer chances for disruption.
The GDS guidance recommends a short TTL of around five minutes (300 seconds) for your main web server records, and 24 hours (86,400 seconds) for stable records such as MX and TXT. The reasoning is sensible: if your web server has a problem you can repoint quickly, while email records that never change do not need constant re-checking.

A practical tip for planned moves: lower the TTL on your A record a day or two before a hosting migration, make the switch, then raise it again afterwards. We go through that sequence in our hosting migration checklist, including how to protect your search rankings and email while things settle.
Keeping DNS tidy over time
DNS is not something to set once and forget. Nominet, the UK registry, frames DNS management as an active security task, including regular reviews of who has access to your domain portals and clearing out records when services are retired.
That last point is worth acting on. Old records are a quiet risk. A subdomain still pointing at a marketing tool you cancelled two years ago, or an MX record for a previous email provider, can cause confusing failures or be abused. Once a year, go through every record and ask: do we still use this, and do we know who set it up?
A simple annual DNS review:
- Export or screenshot every record and store it somewhere safe.
- Delete records for services you no longer use.
- Check SPF includes every service that sends email for you, and nothing else.
- Confirm renewal dates and that the billing email is a role address someone reads.
- Check the list of people with access.
Common DNS mistakes we see
- Domain registered in a freelancer’s or ex-employee’s name. The business then cannot prove ownership or change anything. Always make sure the registrant is your company.
- Letting a domain lapse. Renewal reminders go to an unmonitored inbox and the domain expires. Use a role address and keep payment details current.
- A CNAME on the root domain, breaking email, as described above.
- Changing nameservers without copying the records first. The new host starts empty, and email and subdomains vanish. This is the number one cause of migration trouble.
- Forgetting SPF when adding a new sender. Newsletters or quotes from a new tool go to spam.
- Shared logins. One password known by several people, reused elsewhere.
DNS filtering is a different thing
Search results for this topic mix two meanings of DNS. Everything above is about publishing the records for your own domain. Some results talk about DNS filtering, which is a service that blocks staff from reaching harmful sites. It protects your office network, not your website. If that is what you want, the NCSC has guidance on protective DNS for the private sector. The two are complementary but separate decisions.
Our view: keep it simple, keep it yours
We have been building and looking after business websites for a long time, and DNS problems almost never come from sophisticated attacks or clever configuration. They come from three ordinary things: nobody knowing where the domain is managed, one person holding the only login, and changes made in a hurry without a record of what was there before.

So our advice is deliberately unglamorous. Make sure the domain is registered in your company’s name. Put 2-step verification on the account. Use a role-based email for contacts. Keep a written copy of your records. Review them once a year. None of this costs much, and none of it needs an agency. You can do all of it yourself, and we would rather you did than paid for something you do not need.
Where we do help is when a change is big enough to carry risk: a new website, a hosting move, a switch of email provider. Those are the moments when a missing record causes real damage, and when having someone who has done it many times is worth it.
— James Golding
When to ask for help
If your domain, website and email are all managed in different places and nobody is quite sure where, that is a good moment to talk to us. As part of our website hosting, which starts from £350 per year, we look after the technical setup so your records, email and site sit together and are documented. If you would simply like a second pair of eyes first, our free website audit is a no-obligation place to start, and our website maintenance and updates service keeps the day-to-day checks covered. Let’s talk if you would like honest advice on what you actually need.
FAQ
Do I need DNS for my website?
Yes. Every public website and email service relies on DNS to be found. You do not usually have to manage it from scratch, because your hosting company or registrar will provide a DNS service, but the records still exist and someone needs to look after them.
Which DNS records does a small business website need?
Usually an A (and AAAA) record for the website, a CNAME for www, MX records for email, and TXT records for SPF, DKIM, DMARC and verification. Extra services such as a booking system normally add one more record each.
How do I find the DNS records for my domain?
Log in to the account where your DNS is managed, usually your registrar or hosting control panel, and open the DNS or zone section. If you are not sure where that is, check which nameservers your domain uses, as they point to the company hosting your records. Copy the full list before changing anything.
How long do DNS changes take?
It depends on the TTL of the record being changed. With a five-minute TTL on a web server record, most visitors see the change quickly. Nameserver changes and long TTLs can take longer, which is why planning a move ahead of time helps.
What is the most important thing to do to protect my DNS?
Turn on 2-step verification on your registrar and DNS accounts, and use a unique password. The NCSC’s guidance makes this its main recommendation for organisations with a single public domain.
Sources
- Managing Public Domain Names, NCSC
- Advisory: Ongoing DNS hijacking and advice on how to mitigate, NCSC
- Security overview for websites, The GDS Way
- What is a DNS CNAME record?, Cloudflare
- What are DNS records?, Cloudflare
- DNS Services, Nominet
- Protective DNS for the private sector, NCSC