How does DNS work?

Estimated reading: 5 minutes

DNS, the Domain Name System, is the system that turns a domain name like brainiacbiz.com into the address of the server where the website lives. When someone types your domain into a browser, DNS looks up the matching records and sends the visitor to the right place. It works like a phone book for the internet: names in, numbers out, in a fraction of a second.

You do not need to understand DNS in depth to run a small business, but you do need to know what it does, because almost every website, email, and hosting change involves a DNS record somewhere. Knowing the basics means you can follow instructions, spot a wrong setting, and avoid breaking things by accident.

The records that matter

DNS is made of records, each with a job. The ones a small business owner will meet most often are:

  • A record. Points your domain to a server’s IP address. This is the record that makes your website load. Changing web hosts usually means changing the A record.
  • CNAME record. Points one name to another name, for example pointing www.yourbusiness.ca to yourbusiness.ca, or pointing a subdomain to a service.
  • MX record. Tells the internet where to deliver email for your domain. Your email provider gives you the MX records to use. Wrong MX records mean lost email.
  • TXT record. Holds text information used for verification and email security, including SPF, DKIM, and DMARC records. These help other mail servers trust your email.
  • NS record. Names the nameservers that hold your domain’s DNS records. Changing nameservers moves control of your DNS to a different provider, such as your hosting company or Cloudflare.

Each record has a name, a type, a value, and a TTL, which is how long other servers should cache it. A short TTL means changes spread faster; a long TTL means changes take longer but the system is more efficient.

Where DNS lives

Your DNS records live with whichever provider holds your nameservers. That is usually your domain registrar, your hosting company, or a service like Cloudflare. To change a record, you log in to that provider, find the DNS settings, and edit the record. If you are not sure where your DNS lives, check your domain registrar first: it will show the current nameservers, and that tells you who controls the records.

Propagation: why changes take time

When you change a DNS record, the change does not take effect everywhere instantly. DNS servers around the world cache the old value until its TTL expires, so some visitors see the new setting within minutes and others take hours. Full propagation usually takes up to a few hours, and in rare cases up to 48 hours. During that time, your website may appear to work for some people and not for others. That is normal, not a sign that something is broken. Wait before making further changes, or you will not know which change caused which result.

Common DNS mistakes

  • Editing the wrong record. Changing an A record when you meant to change an MX record can take down your website or your email. Always double-check the record type before saving.
  • Typos in values. A single wrong character in an IP address or a mail server name breaks the record. Copy values from your provider instead of typing them.
  • Deleting records you do not recognize. Old records may still be in use. If you are unsure, ask before deleting anything.
  • Changing nameservers without a plan. Moving nameservers moves all of your DNS records. If the new provider does not have copies of them, your website and email stop working. Copy the records first, then switch.

When to ask for help

DNS mistakes can take down a website and email at the same time, so if you are unsure, ask before you change anything. Keep a note of the current records before you edit them, so they can be restored if something goes wrong. Brainiac Business can help with domain and DNS changes through General Small-Business IT Support, quoted by scope before work starts. See what IT Support covers, or open a ticket at the support portal.

Frequently asked questions

What is the difference between a domain and DNS?

The domain is the name, such as yourbusiness.ca. DNS is the system that connects that name to the servers that host your website and email.

How long does a DNS change take?

Usually minutes to a few hours. The TTL on the record controls how long old values are cached. In rare cases, full propagation can take up to 48 hours.

Can I break my email by changing DNS?

Yes. Email depends on MX records, and changing or deleting them stops delivery. Never edit MX records unless you know the correct new values.

Do I need Cloudflare for DNS?

No, but many businesses use it because it also adds speed and security features. See what Cloudflare is and how it helps your website.

Related reading: how to set up a professional business email address and what to do when your website is down.

Share this Doc

How does DNS work?

Or copy link

CONTENTS
Chat with us on WhatsApp