
Website email is the official communication tool for businesses, and issues with email delivery can cause significant work delays and disruptions.
In this article, we’ll explain the correct method for adding DNS settings in your hosting to ensure email delivery.
If you’re using cPanel for your hosting, follow these steps:
-
Access the DNS Zone Editor
From the cPanel dashboard, click on DNS Zone Editor. -
Select the Domain
Choose the domain you want to modify the DNS settings for. -
Verify Key DNS Records for Email Functionality
Ensure the following essential records are present in the domain’s DNS zone. These settings are typically configured automatically when you receive your hosting, but double-check them if you encounter issues with sending or receiving emails.You can learn about the types of DNS records and their functions in this article.
-
MX Record: Confirm an MX record is added, with the destination set to the same domain.
Note: The MX record may differ if you’re using email services like Google Workspace, Microsoft Outlook, Zoho, or other email providers. If using Webmail on the same hosting, set the destination to the domain itself. -
CNAME Record: Ensure a CNAME record is added for mail.domain.com (replace domain.com with your actual domain) pointing directly to the domain itself, as shown in the image.
-
TXT Record: Verify a TXT record is added with the following format:
v=spf1 +a +mx +ip4:(IP_ADDRESS) ~allReplace IP_ADDRESS with your hosting server’s IP address.
-
What is DMARC Protocol and Its Benefits for Email?
DMARC (Domain-based Message Authentication, Reporting, and Conformance) is a protocol that authenticates domain-based emails and aligns them with a standardized set of email policies. Despite its importance in enhancing email security and reliability, many hosting providers overlook adding a DMARC record. Including this record helps prevent emails from being marked as spam or landing in the junk folder.
Learn more about the reasons emails end up in spam or junk folders in this article.
How to Add a DMARC Record
You can add a DMARC record in the same DNS zone for your domain as follows:
-
Select a TXT record type.
-
Add _dmarc. before your domain in the name field.
-
In the record text field, enter the following code:
v=DMARC1; p=quarantine; rua=mailto:reports@dmarc.site; ruf=mailto:reports@dmarc.site; adkim=r; aspf=r; rf=afrfRefer to the image for clarification.
Conclusion
If you continue to experience email issues with your hosting, don’t hesitate to contact the BayHost support team for assistance.