Domains & DNS

Understanding DNS records

What A, AAAA, CNAME, MX, and TXT records do, with practical examples you can copy.

Last updated: 2026-08-116 min read

DNS records tell the internet where to find the different services on your domain — your website, your email, and verification data. When your domain is delegated to ns1/ns2.mahsumaah.sa, our team manages these for you; this guide explains what each one means.

The record types you'll meet

An A record maps a hostname to an IPv4 address. An AAAA record does the same for IPv6. A CNAME points one hostname at another (often used for the www host). An MX record routes email to a mail server. A TXT record holds text used for verification and email authentication such as SPF and DKIM.

@      A      203.0.113.10
www    CNAME  yourdomain.sa.
@      MX     10 mail.yourprovider.com.
@      TXT    "v=spf1 include:yourprovider.com ~all"
  1. Decide which service each record serves — website (A/AAAA/CNAME) or email (MX/TXT).
  2. Use the exact values from your provider; a trailing dot on a hostname means it's fully qualified.
  3. Keep TTL moderate (e.g. 3600s) so future changes propagate at a reasonable pace.
  4. If your domain is delegated to us, send us the records and we'll apply them.

Important

A typo in a DNS record can take your site or email offline until it propagates again. Double-check IPs and hostnames before saving, and change one record at a time.

Need more help?