> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.namehero.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Configure External DNS records for Heroicmail

Having the proper DNS records for your new Heroicmail account will let you enjoy the full benefits of Heroicmail! Although only the 'basic' DNS records need to be added for your mailbox to work, adding all the DNS records will let you enjoy syncing not just Email but also your Calendar, Contacts, Task and Notes!

**If your hosting account and DNS are currently with NameHero we will configure all these DNS records for you! Nothing you need to do here!**

**If your DNS is external, like Cloudflare or somewhere else, the following is for you!**

### Here are the basic DNS records for email to function:

**MX Record:** mail.heroicmail.com

**SPF/TXT** record: +include:_spf.heroicmail.com

**CNAME records:**

heroic-return in CNAME return.heroicmail.com  
heroic-link in CNAME link.heroicmail.com  
s700463._domainkey in CNAME dkim.heroicmail.com

That's it! Set those and you can configure your mail via IMAP and your webmail will work properly!

***Please note, you will need to verify with us that you have successfully added the records so we can verify on the outbound relay before you will be able to send outgoing mail.**

### For Advanced features with syncing Calendar, Contacts you will need to add the following additional DNS records below:

**CNAME RECORDS:**

autodiscover IN CNAME mail.heroicmail.com

**TXT Record for DMARC:** (minimal dmarc record)

_dmarc in TXT

v=DMARC1;p=none;sp=none;adkim=r;aspf=r;pct=100;fo=0;rf=afrf;ri=86400

**SRV RECORDS:**

*sip.*tcp IN SRV 1 5 5060 mail.heroicmail.com

*sip.*udp IN SRV 1 5 5060 mail.heroicmail.com

*sip.*tls IN SRV 1 5 5061 mail.heroicmail.com

*autodiscover.*tcp IN SRV 1 5 443 mail.heroicmail.com

*caldav.*tcp IN SRV 1 5 80 mail.heroicmail.com

*caldavs.*tcp IN SRV 1 5 443 mail.heroicmail.com

*carddav.*tcp IN SRV 1 5 80 mail.heroicmail.com

*carddavs.*tcp IN SRV 1 5 443 mail.heroicmail.com

*ischedule.*tcp IN SRV 1 5 80 mail.heroicmail.com

*ischedules.*tcp IN SRV 1 5 443 mail.heroicmail.com

*xmpp-client.*tcp IN SRV 1 5 5222 mail.heroicmail.com

*xmpp-server.*tcp IN SRV 1 5 5222 mail.heroicmail.com