Back to articles

What Is DNS and Why Does It Matter for Your Website?

DNS network communication concept

DNS stands for Domain Name System. It is the part of the internet that connects a human-friendly domain name, such as example.co.uk, to the technical address of the server that website or email actually lives on. Without it, domain names would not be much use.

Most people only think about DNS when something stops working, but it quietly underpins every visit to your website and every email you send and receive.

Why does DNS exist?

Computers use IP addresses to find each other online. People are much better at remembering names.

It is easier to remember example.co.uk than a string of numbers. DNS acts a little like an address book: you ask for a domain name and DNS points you towards the correct server address.

That is why DNS settings matter whenever you launch a website, move hosting, set up business email or connect third-party services.

What happens when you visit a website?

When you enter a domain name, your browser checks whether it already knows where to go. If it does not, it asks DNS servers to help find the right record.

Once the correct address is found, the browser connects to the web server and requests the page. Most of this happens quietly in the background, often in a fraction of a second.

Nameservers and DNS records

Nameservers tell the internet where your domain’s DNS records are managed. The DNS records then provide the specific instructions.

Different records do different jobs. You do not need to memorise every type, but it helps to know the common ones:

  • A records point a domain or subdomain to an IPv4 address (and AAAA records to an IPv6 address)
  • CNAME records point one hostname to another
  • MX records tell email which mail servers handle mail for your domain
  • TXT records are often used for verification and email authentication

Our knowledgebase guide on setting nameservers covers the practical side, and which nameservers 4UHosting uses is listed there too.

DNS and moving your website

When you move a website to new hosting, the DNS may need to be updated so your domain points to the new server. This can involve changing nameservers or updating individual records.

The right approach depends on where your DNS is managed and what else is connected to the domain. It is important to be careful: changing nameservers without checking email, subdomains and other records can accidentally interrupt services.

If you are changing nameservers, moving hosting or editing email records, take a copy of the current settings first and only change the records you understand.

DNS and email

Email relies heavily on DNS. MX records tell the internet which mail servers handle email for your domain, while TXT records help prove your email is authorised and reduce the chance of messages being treated as suspicious.

If business email is important to you, DNS changes should be planned properly. A small mistake can stop mail being delivered.

Why DNS changes can take time

When DNS records change, the update may not appear everywhere immediately. DNS information is cached by different systems to make the internet faster, so some networks may keep older information for a while. This delay is often called propagation.

In many cases changes are visible fairly quickly, often settling within a few hours, but it is sensible to allow up to 24 to 48 hours when moving hosting, changing email providers or launching a new site. That is also why a site can appear updated for one person but not another. Planning DNS changes outside your busiest period is usually a good idea.

If a new domain has not appeared online yet, our guide on why a new domain is not showing yet explains what to check.

Keep your DNS records tidy

Over time, domains can collect old records from previous hosting, email tools, verification services and experiments. It is worth reviewing DNS records occasionally, especially before a migration.

Old or duplicated records can make troubleshooting harder and may create security or deliverability problems. If you are unsure about a DNS record, check before removing it.

In short

  • DNS translates domain names into the server addresses your website and email depend on
  • Nameservers say where your DNS records live; individual records (A, CNAME, MX, TXT) give the instructions
  • DNS changes usually settle within a few hours but can take up to 24 to 48 hours to propagate everywhere
  • Copy current settings before changes, and review old records occasionally to keep troubleshooting simple

Frequently asked questions

How long does DNS propagation take?

Changes often appear within a few hours, but different networks cache DNS for different lengths of time, so allow up to 24 to 48 hours for a change to settle everywhere.

Do I need to change DNS if I move hosting?

Usually yes, either by updating your nameservers or pointing individual records at the new server. Check your email and subdomains first so nothing is interrupted.

What DNS records do I need for email?

MX records direct email to your mail provider, and TXT records such as SPF, DKIM and DMARC help prove your messages are genuine. Both matter for reliable delivery.

Where are my DNS records managed?

Wherever your domain’s nameservers point, which is usually your domain registrar or hosting provider. If you are not sure, ask your provider and they can check for you.