Setting of DNS Records

Here is what I want to do:

  1. Use Titan for an individual business.
  2. Use c-panel email for official business (ad***@***aa.org, so***@***aa.org, etc.)
  3. Use SendGrid for transactional emails.
  4. Use Cloudflare as the nameserver.

Please rerun the steps to take for the required DNS Records.

Answers by Grok

Thank you for summarizing your goals. You want to:

  1. Use Titan Professional Email for individual business accounts (e.g., in**@***aa.org or a subdomain like titan.snuaa.org).
  2. Use cPanel email (Bluehost regular email) for official business accounts (e.g., ad***@***aa.org, so***@***aa.org).
  3. Use SendGrid for transactional emails (e.g., automated emails via SendGrid’s SMTP).
  4. Use Cloudflare as the nameserver for snuaa.org.

The “Address not found” error for incoming emails to ad***@***aa.org and so***@***aa.org (cPanel) and the Cloudflare error “Change the content of your MX record to be a host name, not an IP address” indicate that the MX record for @snuaa.org was incorrectly set (e.g., using an IP like 173.254.28.216 or name snuaa.org instead of @). Additionally, MX Toolbox reported “No MX records found” for webmail.snuaa.org, despite the record MX webmail webmail.snuaa.org, suggesting propagation or configuration issues. The DMARC report showed SPF/DKIM failures for SendGrid, which we’ll address for transactional emails.Since ad***@***aa.org and so***@***aa.org are cPanel emails, we’ll configure the root domain (@snuaa.org) for cPanel, while setting up Titan on a subdomain (e.g., titan.snuaa.org) to avoid MX conflicts. Below are the DNS records to set up in Cloudflare to achieve your goals, ensuring all systems coexist.

Step 1: Set Up DNS Records for cPanel Email (@snuaa.org)For official business emails (ad***@***aa.org, so***@***aa.org) on Bluehost’s cPanel servers:

  1. Log in to Cloudflare at dash.cloudflare.com, select snuaa.org, and go to DNS > Records.
  2. Add MX Record for @:
    • For cPanel email, point MX to Bluehost’s mail server hostname:TypeNameMail ServerPriorityTTLProxy St******@**il.snuaa.org0AutoDNS only
    • Steps:
      • Click Add record.
      • Set Type to MX, Name to @ (leave blank or type @), Mail server to mail.snuaa.org, Priority to 0, Proxy status to DNS only (gray cloud).
      • Save.
      • Note: If you see the error “Change the content of your MX record to be a host name, not an IP address,” ensure you’re entering mail.snuaa.org (not 173.254.28.216 or another IP). Use mail.snuaa.org. (with a trailing dot) if Cloudflare rejects it.
  3. Add A Record for mail:
    • Ensure mail.snuaa.org resolves to your Bluehost server IP:TypeNameValueTTLProxy StatusAmail173.254.28.216AutoDNS only
    • Verify 173.254.28.216 is your Bluehost server IP (cPanel > Domains > Assign or Bluehost support). Edit if incorrect.
  4. Remove Conflicting Records:
    • Delete any existing MX records for @ or snuaa.org (e.g., ones pointing to mx1.titan.email or an IP).
    • Delete the legacy MX record MX mail mail.snuaa.org (previously noted).
    • If a CNAME exists for mail (e.g., hostgator.titan.email), delete it, as it conflicts with cPanel’s A record for mail.

Step 2: Set Up DNS Records for Titan Professional Email (titan.snuaa.org)To avoid conflicts with cPanel email on @snuaa.org, use a subdomain (e.g., titan.snuaa.org) for Titan individual business accounts (e.g., in**@*********aa.org).

  1. Add MX Records for titan:
    • For Titan email:TypeNameMail ServerPriorityTTLProxy StatusMXtitanmx1.titan.email10AutoDNS onlyMXtitanmx2.titan.email20AutoDNS only
    • Use values from your Bluehost Professional Email setup email if different.
  2. Add CNAME for Titan Webmail/Autodiscover:
    • For Titan’s webmail and client autodiscover:TypeNameValueTTLProxy StatusCNAMEmail.titanhostgator.titan.emailAutoDNS only
  3. Add SPF for titan:
    • For deliverability:TypeNameValueTTLProxy StatusTXTtitanv=spf1 include:spf.titan.email ~allAutoDNS only

Step 3: Verify DNS Records for cPanel Email (webmail.snuaa.org)For additional cPanel email accounts (e.g., ad***@***********aa.org):

  1. Verify A Record:
    • Confirm (previously set):TypeNameValueTTLProxy StatusAwebmail173.254.28.216AutoDNS only
    • Verify the IP (cPanel > Domains > Assign).
  2. Verify MX Record:
    • Confirm (you noted it exists, but MX Toolbox showed “No MX records found”):TypeNameMail ServerPriorityTTLProxy StatusMXwebmailwebmail.snuaa.org0AutoDNS only
    • If not resolving:
      • Delete and re-add the MX record.
      • Ensure DNS only.
      • Wait 1–4 hours for propagation.
  3. Add SPF TXT Record:TypeNameValueTTLProxy StatusTXTwebmailv=spf1 a mx include:websitewelcome.com ~allAutoDNS only

Step 4: Set Up DNS Records for SendGrid (Transactional Emails)For SendGrid to handle transactional emails:

  1. SPF for @snuaa.org:
    • Combine cPanel and SendGrid (include Titan if active):TypeNameValueTTLProxy StatusTXT@v=spf1 a mx include:websitewelcome.com include:sendgrid.net include:spf.titan.email ~allAutoDNS only
  2. DKIM for SendGrid:
    • In SendGrid (Settings > Sender Authentication), find the DKIM record (selector like smtpapi).
    • Add:TypeNameValueTTLProxy StatusTXTsmtpapi._domainkey[SendGrid DKIM public key]AutoDNS only
  3. Domain Authentication for SendGrid:
    • In SendGrid, follow Sender Authentication to generate additional DNS records (e.g., CNAMEs for link tracking).
    • Example (varies by SendGrid setup):TypeNameValueTTLProxy StatusCNAMEem1234.snuaa.orgu1234.wl.sendgrid.netAutoDNS onlyCNAMEs1._domainkeys1.domainkey.u1234.wl.sendgrid.netAutoDNS onlyCNAMEs2._domainkeys2.domainkey.u1234.wl.sendgrid.netAutoDNS only
    • Replace em1234, u1234, etc., with values from SendGrid.

Step 5: Set Up DMARCTo monitor authentication and prevent spoofing:

TypeNameValueTTLProxy Status
TXT_dmarcv=DMARC1; p=none;AutoDNS only

Step 6: Verify Email Accounts

  1. cPanel Accounts:
    • In cPanel (snuaa.org/cpanel) > Email > Email Accounts, create/verify ad***@***aa.org, so***@***aa.org, and ad***@***********aa.org (if needed).
    • Set Email Routing to Local Mail Exchanger.
  2. Titan Accounts:
    • In Bluehost > Email & Office > Professional Email, create accounts (e.g., in**@*********aa.org).
    • Add the subdomain titan.snuaa.org in cPanel > Domains > Create a New Domain if needed.

Step 7: Test and Monitor

  1. Wait for Propagation: 1–48 hours (usually 1–4). Check mxtoolbox.com:
    • snuaa.org: mail.snuaa.org.
    • webmail.snuaa.org: webmail.snuaa.org.
    • titan.snuaa.org: mx1.titan.email, mx2.titan.email.
  2. Test Emails:
    • Send from Gmail to:
      • ad***@***aa.org, so***@***aa.org (cPanel, check at snuaa.org/webmail > Roundcube).
      • in**@*********aa.org (Titan, check at email.titan.email).
    • Test transactional emails via SendGrid (e.g., via your app or SendGrid’s test tool).
  3. Track Delivery: cPanel > Email > Track Delivery for bounces.

Troubleshooting

  • MX Error: Ensure mail.snuaa.org for @ and webmail.snuaa.org for webmail. Use trailing dots (mail.snuaa.org.) if Cloudflare rejects.
  • Propagation: Clear Cloudflare cache (Caching > Purge Everything).
  • Conflicts: If Titan was previously set up for @snuaa.org, migrate accounts to cPanel or use the subdomain.
  • Support: Bluehost for IP/Titan setup; Cloudflare for DNS; SendGrid for DKIM/CNAMEs.
서울대학교 미주동창회