What is a CDN? Content delivery networks explained
How content delivery networks make websites faster and more resilient, what caching means, and how to set up a CDN without breaking your site.
What DNS is, what each common record type does, how changes propagate and how to update DNS safely when moving websites or email.
DNS is the internet's address book: it turns domain names into the server addresses that browsers and email systems need. Different record types do different jobs: A and AAAA point to servers, CNAME points one name to another, MX handles email, and TXT stores verification and email security settings. Most outages during website moves come from DNS mistakes, so record your existing settings before changing anything.
Every time someone visits your website or sends you an email, the Domain Name System (DNS) works behind the scenes to find the right server. You rarely think about DNS until something breaks, usually during a website launch, hosting move or email change. Understanding the basics prevents most problems.
Your domain's nameservers decide which provider manages its DNS records. They're set at your domain registrar. They might point to your registrar, your hosting company, a DNS provider or a platform like Cloudflare or Vercel. Changing nameservers moves control of all records to the new provider, so copy existing records first.
| Record | What it does | Example use |
|---|---|---|
| A | Points a name to an IPv4 address | example.com to your web server |
| AAAA | Points a name to an IPv6 address | IPv6 version of the above |
| CNAME | Points one name to another name | www to your hosting platform's domain |
| MX | Says which servers receive email | Google Workspace or Microsoft 365 mail servers |
| TXT | Stores text for verification and policies | SPF, DKIM, DMARC, site verification |
| NS | Lists the nameservers for the domain or a subdomain | Delegating DNS |
| CAA | Says which authorities can issue SSL certificates | Limiting certificate issuers |
| SRV | Points to specific services | Some communication and calendar tools |
The root domain (example.com) usually uses A records pointing to your host's IP addresses, or a provider-specific alternative. Subdomains like www often use a CNAME pointing to the host's domain. You can't normally put a CNAME on the root domain alongside other records, which is why hosts give separate instructions for the root and www.
Decide which version is your main address, with or without www, and redirect the other to it.
MX records route incoming email to your email provider. TXT records hold email authentication:
Getting these right improves delivery and protects against impersonation. Website forms that send email also rely on them; see our guide to fixing a contact form that isn't sending email.
Each record has a time to live (TTL), telling other systems how long to cache it. After a change, some visitors may see the old value until caches expire. That's what people mean by "propagation." Changes often take effect within minutes to a few hours, but nameserver changes can take longer.
Tip: lower the TTL a day before a planned change, then raise it again afterwards.
Free online DNS lookup tools show what records the world currently sees for your domain. Use them before and after changes to confirm records are correct. Command-line tools give the same information for technical users. If a site shows security warnings after a move, our guide to fixing mixed content warnings covers a related set of HTTPS issues.
DNS providers with global networks resolve names quickly, and many CDNs include DNS. Our CDN guide explains how DNS and CDNs often work together.
Protect your registrar and DNS accounts with strong passwords and two-factor authentication. Someone who controls your DNS controls your website and email. Consider DNSSEC where supported, and CAA records to limit who can issue certificates.
Our web development team handles DNS changes during launches and migrations without downtime, our maintenance plans include DNS and email authentication checks, and our web app team configures DNS for custom applications and APIs.
Often minutes to a few hours, depending on TTL settings. Nameserver changes can take longer.
It can, if MX and email TXT records aren't recreated correctly. Always copy existing records first.
An A record points to an IP address; a CNAME points to another domain name.
This guide is general information, not legal, tax or financial advice, and details such as prices, features and rules can change. Product and company names mentioned are trademarks of their respective owners and are used only to identify those products; UK Technology Hub is not affiliated with or endorsed by them.
Tell us about your project and get a free, fixed quote.
Get a free quoteHow content delivery networks make websites faster and more resilient, what caching means, and how to set up a CDN without breaking your site.
A comprehensive pre-launch checklist covering content, design, functionality, SEO, performance, accessibility, security, analytics and the launch itself.
What the Jamstack approach is, how pre-built pages and APIs make sites faster and more secure, and when it's the right choice for a business website.