Service agency for hosting, web design & print – since 1993

Guides · Web Hosting

Adjust DNS Records: A-Record, MX-Record & CNAME Explained

Adjusting DNS records is essential for your website and email functionality. We clearly explain A-Record, MX-Record, and CNAME and show how to make changes safely.

By · · 4 min read

Computer screen showing DNS records and settingsAI-generated image

In short: Adjusting DNS records means managing the technical references of your domain to servers and services. The A-Record, MX-Record, and CNAME are the key entries to reliably operate your website and email. Our guide helps you understand these records and update them correctly.

At a glance
  • DNS (Domain Name System) translates domain names into IP addresses.
  • A-Record links your domain to an IP address for your website.
  • MX-Record controls where emails sent to your domain are delivered.
  • CNAME points one domain to another domain, e.g., subdomains.
  • You change DNS records in your hosting control panel or with your domain provider.
  • Errors when changing can cause website or email outages.

What are DNS Records and Why Should You Adjust Them?

DNS records are data entries that define how your domain functions on the internet. They specify which servers deliver your website, where emails are sent, and how subdomains are handled. Adjusting DNS records is important when you switch hosting providers, integrate additional services, or configure email servers.

Without correct DNS records, your website remains unreachable, and emails can be lost or marked as spam. Therefore, understanding and properly adjusting these records is essential for a professional online presence.

How Do A-Record, MX-Record, and CNAME Work? Explaining DNS Records

The most important DNS records for your website and email are:

  • A-Record: Assigns your domain to an IPv4 address, i.e., the server number where your website is hosted. Example: www.yourdomain.com → 192.0.2.1.
  • MX-Record: Specifies the mail server that receives emails for your domain. Multiple MX records with priorities can be set to ensure failover.
  • CNAME: An alias that points a domain or subdomain to another domain, e.g., blog.yourdomain.com → yourdomain.com.

These records are part of your domain’s DNS zone and are queried whenever your website is accessed or emails are sent.

How Can You Adjust DNS Records? A Simple DNS Record Change Tutorial

Changing DNS records usually happens via your domain registrar’s or hosting provider’s management portal. The steps are similar:

  1. Log in to your customer account.
  2. Open the DNS management or zone editor for your domain.
  3. Select the record you want to adjust (A-Record, MX-Record, CNAME).
  4. Edit the values (e.g., IP address for A-Record, mail server address for MX-Record).
  5. Save the changes.
  6. Wait for DNS propagation (up to 24 hours) until changes take effect worldwide.

Important: Check the current values before making changes to avoid errors. Use testing tools or consult your hosting support if needed.

What Is a CNAME Record and When Should You Use It?

A CNAME record (Canonical Name) is an alias for another domain. It redirects requests for a subdomain to another domain without specifying its own IP address. For example, you can point shop.yourdomain.com to myshopprovider.com without running a separate server.

CNAME is especially useful for subdomains that point to external services, such as cloud providers, shop systems, or newsletter tools. However, it is not suitable for the main domain, which requires an A-Record.

How Do You Set the MX-Record Correctly to Ensure Reliable Email Delivery?

The MX-Record defines which mail server receives emails for your domain. To set it correctly, you need the mail server address (e.g., mail.yourdomain.com) and a priority number indicating which server is preferred.

If you create multiple MX records, the priority ensures failover: the server with the lowest number is tried first. If it’s unreachable, the next server is contacted.

Incorrect MX records can cause emails to be undelivered or marked as spam. Always verify the correct details with your email provider or host.

Which DNS Records Are Necessary for Your Website? Overview and Recommendations

For a functioning website and email communication, at least the following DNS records are required:

RecordFunctionExample
A-RecordLinks domain to the web server’s IP addressyourdomain.com → 192.0.2.1
MX-RecordRoutes emails to the mail server10 mail.yourdomain.com
CNAMEAlias for subdomains, points to other domainswww.yourdomain.com → yourdomain.com

Optionally, other records like TXT (for SPF, DKIM, DMARC), AAAA (IPv6 addresses), or SRV (for services) may be needed depending on your requirements.

What Should Freelancers and Small Businesses Consider When Changing DNS Records?

  • Backup current settings: Always make a copy of existing DNS records before changes.
  • Avoid downtime: Schedule changes during low-traffic periods.
  • Consider propagation: DNS changes can take up to 24 hours to be active worldwide.
  • Understand technical terms: Use tutorials and support if unsure.
  • Professional help: For complex needs or uncertainties, consult an expert, e.g., from MYPOINT.

With proper preparation and care, you ensure your website and email remain smoothly accessible.

Conclusion

Adjusting DNS records is an important task for anyone who wants to professionally operate their website and email. A-Record, MX-Record, and CNAME are key components you should understand and configure correctly. Use the tools provided by your hosting provider or domain registrar to safely make these changes. For questions or professional support, MYPOINT in Durmersheim is happy to assist you.

Frequently asked questions

How long does it take for DNS changes to take effect?
DNS changes typically take up to 24 hours to fully propagate worldwide. In some cases, it can be faster, while other times it may take a bit longer.
Can I set up multiple MX records for my domain?
Yes, multiple MX records with different priorities provide failover for email reception. The server with the lowest priority number is contacted first.
What happens if I enter the A-Record incorrectly?
An incorrect A-Record will cause your website to be unreachable because the domain won’t point to the correct web server.
Can I use a CNAME for my main domain?
No, a CNAME must not be used for the main (root) domain because it requires an A-Record. CNAME is only used for subdomains.
How can I find the current DNS records of my domain?
You can query DNS records using online tools like "dig" or "nslookup" or view them directly in your domain provider’s customer area.
What if my emails don’t arrive despite having the correct MX record?
You should also check SPF, DKIM, and DMARC records, as these influence email deliverability and spam filtering.

adjust dns recordsa record mx record cnameexplain dns recordsdns record change tutorialset mx record correctlydns records for website

Online designer · free & non-binding

Configure servers & hosting online

Describe your project, choose performance – we recommend the right setup including migration of your websites.

  • Live preview while you type
  • No account needed – just your email address
  • Personally checked quote by email, accept with one click

Prefer to talk? +49 7245 938647 · info@mypoint.de