Email VPS
Domain guides

DNS records A, CNAME, MX and TXT explained

DNS records

DNS records are instructions that tell the internet where your domain's traffic should go. Different record types have different jobs. One routes the website, another the email. In this guide we go through the most common records in plain language.

The most common DNS records

RecordPurposeExample
APoints the domain to a server's IPv4 addressyourcompany.fi → 192.0.2.10
AAAAThe same as A but for an IPv6 addressyourcompany.fi → 2001:db8::1
CNAMEMakes an address an alias of another namewww → yourcompany.fi
MXRoutes email to the right mail servermail.yourcompany.fi
TXTA text record, for example verifications and SPFv=spf1 include:_spf.nordweb.fi ~all

When records are changed

DNS records are changed for example when you take a new email service into use, verify the domain for an external service or point the site to a new server. Changes are made in the domain's DNS management and take effect after propagation.

Tips for managing records

  • Only change records whose meaning you know.
  • Save the old values before making a change.
  • Email delivery depends on MX and TXT records, so handle them carefully.

Read also Managing DNS settings

Read also What DNS and name servers are

Frequently asked questions

What is the difference between an A and a CNAME record?

An A record points directly to an IP address, a CNAME points to another name that eventually leads to an IP address.

Why does my email not work after a record change?

Check the MX records and wait for propagation to finish. A wrong MX record stops email from being delivered.