This article provides a clear, beginner-friendly overview of common Domain Name System (DNS) records, including A, AAAA, CNAME, MX, TXT and NS records. It explains what DNS propagation and Time to Live (TTL) mean and offers safe procedures for checking DNS changes. Understanding DNS records is important because incorrect modifications can disrupt website accessibility and email services.
What Are DNS Records?
DNS records are settings stored in the Domain Name System that define how domain names are translated into IP addresses and how related services are managed. They enable users to access websites and send emails without needing to remember numerical IP addresses.
Common Types of DNS Records
A Record (Address Record)
An A record maps a domain name to an IPv4 address (a numerical label like 192.0.2.1). This allows browsers to find the server hosting a website.
Example:
- example.com → 192.0.2.1
AAAA Record
Similar to an A record, an AAAA record maps a domain to an IPv6 address (a longer alphanumeric IP, e.g., 2001:0db8::1).
CNAME Record (Canonical Name Record)
CNAME records alias one domain name to another domain name instead of an IP address. This is useful to point multiple domains or subdomains to a single canonical domain.
Example:
- www.example.com → example.com
Visitors to www.example.com will be directed to the IP address associated with example.com.
MX Record (Mail Exchange Record)
MX records specify the mail servers responsible for receiving email on behalf of your domain.
Example:
- example.com → mailserver.examplehost.com
Multiple MX records can exist, prioritised by a preference number.
TXT Record (Text Record)
TXT records store text information related to the domain. They are frequently used for verification purposes or to implement email security measures like SPF, DKIM, and DMARC.
Example: A TXT record might state: v=spf1 include:examplehost.com -all
NS Record (Name Server Record)
NS records specify the authoritative name servers for the domain — the servers that answer DNS queries about the domain.
Example:
- example.com → ns1.examplehost.com, ns2.examplehost.com
DNS Propagation and Time To Live (TTL)
When DNS records are changed, it takes time for changes to be recognised worldwide. This process is called DNS propagation.
Time To Live (TTL) is the duration that DNS records are cached by resolvers before they must be refreshed from the authoritative servers. TTL is usually set in seconds and can range from a few minutes to several hours.
For example, a TTL of 3600 seconds means caches will hold the DNS information for one hour before updating.
Safe Procedures for Checking and Changing DNS Records
- Back up existing DNS records: Before making any changes, record the current DNS settings in case you need to restore them.
- Understand the function: Ensure you know what each record controls; incorrect edits can cause website downtime or prevent email delivery.
- Use reliable DNS lookup tools: Tools such as dig, nslookup, or online services allow you to check current DNS records after changes.
- Allow time for propagation: Wait for the TTL duration plus some buffer before assuming changes have fully propagated.
- Test services: After changes, verify your website loads correctly, and email functions as expected.
- Contact BREDC Support if unsure: Making DNS changes may require appropriate permissions and technical knowledge. Contact BREDC Support for assistance to avoid unintended service interruption.
Warnings About Incorrect DNS Changes
Modifying DNS records incorrectly can lead to:
- Your website becoming inaccessible to visitors.
- Emails being rejected or not received.
- Loss of domain verification and security issues.
Always proceed cautiously with DNS edits and seek professional advice if uncertain.
Conclusion
Understanding and managing your DNS records is crucial for the smooth operation of your domain's website and email services. Familiarising yourself with common record types and following safe procedures when making changes will help maintain service availability. When in doubt, contact BREDC Support for expert guidance.