DNS Records
Quick Definition
DNS records are instructions stored on DNS servers that tell the internet where to send visitors to your website, where to deliver your email, and how to verify your domain for services like Google Search Console.

What Are DNS Records?
DNS records are entries in the Domain Name System that control how your domain name behaves. They are like a set of instructions that tell the internet: "When someone visits this domain, send them here. When someone sends an email to this domain, deliver it there."
Every domain has multiple DNS records, and each record type serves a different purpose. You manage these records through your domain registrar (like Namecheap or Cloudflare) or your hosting provider's cPanel. When you connect a domain to your WordPress hosting, you are essentially updating your DNS records to point to the right server.
Common DNS Record Types
Here are the records you will encounter most often as a WordPress site owner:
- A Record — The most fundamental record. It maps your domain name to an IPv4 address (like 192.0.2.1). When someone types yourdomain.com into their browser, the A record tells DNS which server to connect to. Every website needs at least one A record.
- CNAME Record — Points one domain to another domain instead of an IP address. Commonly used for subdomains. For example, you might point www.yourdomain.com to yourdomain.com, or blog.yourdomain.com to your hosting platform.
- MX Record — Mail Exchange records control where email is delivered. If you use Google Workspace or Zoho for email, you set MX records to point to their mail servers. Without correct MX records, you cannot receive email at your domain.
- TXT Record — Stores plain text data, primarily used for verification and security. Google Search Console asks you to add a TXT record to prove you own the domain. SPF and DKIM records (both TXT records) verify that emails sent from your domain are legitimate, which helps prevent spam and phishing.
- AAAA Record — Same as an A record, but for IPv6 addresses (the newer, longer format like 2001:0db8:85a3::8a2e:0370:7334).
- NS Record — Nameserver records specify which DNS servers are authoritative for your domain. When you change hosting, you often update your NS records to point to your new host's nameservers.
Why It Matters
You do not need to memorize DNS record types, but you will encounter them. Connecting your domain to hosting? You are updating an A record or nameservers. Setting up professional email? MX records. Verifying your site with Google? TXT record. Setting up a CDN like Cloudflare? CNAME records. Understanding the basics means you can follow setup guides confidently instead of being intimidated by a screen full of technical-looking entries.