This document contains all the DNS records that need to be configured for the email system to work properly.
What's Already Working:
- ✅ A Records (both @ and mail subdomain)
- ✅ MX Record (mail.clone-check.com)
- ✅ SPF Record
- ✅ DMARC Record (monitoring mode)
What Needs To Be Added:
⚠️ DKIM Record Only - See section 4 below
You only need to add the DKIM TXT record to start signing your emails. Everything else is already properly configured!
- Domain: clone-check.com
- Server IP: 212.71.250.15
- Mail Server Hostname: mail.clone-check.com
Type: A
Host: @
Value: 212.71.250.15
TTL: 3600
Type: A
Host: mail
Value: 212.71.250.15
TTL: 3600
This tells other mail servers where to send emails for your domain.
Type: MX
Host: @
Value: mail.clone-check.com
Priority: 10
TTL: 3600
Status: ✅ Already configured and working
This prevents email spoofing by specifying which servers are allowed to send email on behalf of your domain.
Type: TXT
Host: @
Value: v=spf1 mx a ip4:212.71.250.15 ~all
TTL: 3600
Status: ✅ Already configured and working
Explanation:
v=spf1- SPF version 1mx- Allow emails from servers listed in MX recordsa- Allow emails from the A record of the domainip4:212.71.250.15- Allow emails from this IP address~all- Soft fail for all other servers (will be marked as suspicious but not rejected)
This adds a digital signature to your emails to verify they actually came from your server.
Type: TXT
Host: mail._domainkey
Value: v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2X2t3ns+huZDLpIiuChHT+4HNy6rwN9FheL+YtS7VOVZihAHcR8udTn73kFwWc1IkvvZ8p33DkN/CiGTwX8+6WoURnULm4bwPV19JsD4bsVxlWCGdC/L7WhvCR5h/VPcc1ddaAMndh3rZqC6nBCZ3mfcLvS3EbWIlaxeEn1VzPTipYJwEuwjPt7LDiA8iBUuHZFDaMauK7fcXdpYdhZXgkYlvBlHlYT7t2ufSluxoFv1O53WKmcXA7+pK9T+0FuWapCHXn5R4zm/Mz5JPh/WlByiChbdvWAGdZuBY80oTlERjelrkhpRxRaxH3mOTd9tITa71OWWPy22HnoZwIwaNwIDAQAB
TTL: 3600
Note: Some DNS providers may require you to remove quotes and join the value into a single line. If the record doesn't validate, try this format:
v=DKIM1; h=sha256; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2X2t3ns+huZDLpIiuChHT+4HNy6rwN9FheL+YtS7VOVZihAHcR8udTn73kFwWc1IkvvZ8p33DkN/CiGTwX8+6WoURnULm4bwPV19JsD4bsVxlWCGdC/L7WhvCR5h/VPcc1ddaAMndh3rZqC6nBCZ3mfcLvS3EbWIlaxeEn1VzPTipYJwEuwjPt7LDiA8iBUuHZFDaMauK7fcXdpYdhZXgkYlvBlHlYT7t2ufSluxoFv1O53WKmcXA7+pK9T+0FuWapCHXn5R4zm/Mz5JPh/WlByiChbdvWAGdZuBY80oTlERjelrkhpRxRaxH3mOTd9tITa71OWWPy22HnoZwIwaNwIDAQAB
This tells receiving mail servers what to do with emails that fail SPF or DKIM checks and where to send reports.
Current Configuration:
Type: TXT
Host: _dmarc
Value: v=DMARC1; p=none; rua=mailto:jmhbrenan@gmail.com; pct=100; adkim=r; aspf=r
TTL: 3600
Status: ✅ Already configured with monitoring policy
Current Explanation:
v=DMARC1- DMARC version 1p=none- Policy: monitor only (no action taken on failed emails)rua=mailto:jmhbrenan@gmail.com- Aggregate reports sent herepct=100- Apply policy to 100% of emailsadkim=r- Relaxed DKIM alignment modeaspf=r- Relaxed SPF alignment mode
Optional: Upgrade to Stricter Policy (After DKIM is working): Once DKIM is configured and you've monitored reports for a few weeks, you can optionally upgrade to:
Type: TXT
Host: _dmarc
Value: v=DMARC1; p=quarantine; rua=mailto:jmhbrenan@gmail.com; ruf=mailto:jmhbrenan@gmail.com; fo=1; adkim=s; aspf=s; pct=100
TTL: 3600
This will quarantine (spam folder) emails that fail authentication with strict alignment.
After adding these DNS records, you can verify them using these commands:
dig clone-check.com MX +shortdig clone-check.com TXT +short | grep spfdig mail._domainkey.clone-check.com TXT +shortdig _dmarc.clone-check.com TXT +short- MXToolbox: https://mxtoolbox.com/SuperTool.aspx
- DKIM Validator: https://dkimvalidator.com/
- Mail Tester: https://www.mail-tester.com/
-
DNS Propagation: After adding these records, it may take 24-48 hours for DNS changes to propagate globally, though most changes are visible within a few hours.
-
Testing: After DNS propagation, test your email configuration by:
- Sending an email from your server to a Gmail or other major email provider account
- Checking the email headers to verify DKIM signature
- Using https://www.mail-tester.com/ to get a comprehensive email authentication score
-
DMARC Policy Evolution:
- Start with
p=noneto monitor without affecting delivery - After 1-2 weeks of monitoring reports, upgrade to
p=quarantine - After successful quarantine period, optionally upgrade to
p=rejectfor maximum protection
- Start with
-
Reverse DNS (PTR Record): Contact your hosting provider (Linode) to set up a PTR record for 212.71.250.15 pointing to clone-check.com. This is important for email deliverability.
-
Mailboxes Available:
- general@clone-check.com
- support@clone-check.com
- enquiry@clone-check.com
- sales@clone-check.com
- billing@clone-check.com
- Personal mailboxes for registered users
If emails are being rejected or marked as spam:
- Verify all DNS records are correctly configured
- Check DKIM signing is working: send an email and check its headers
- Review DMARC reports sent to postmaster@clone-check.com
- Ensure reverse DNS (PTR) is properly configured
- Test email deliverability with https://www.mail-tester.com/
DKIM keys and configuration are stored at:
- Private key:
/etc/opendkim/keys/clone-check.com/mail.private - Public key:
/etc/opendkim/keys/clone-check.com/mail.txt - Configuration:
/etc/opendkim.conf - Key table:
/etc/opendkim/KeyTable - Signing table:
/etc/opendkim/SigningTable - Trusted hosts:
/etc/opendkim/TrustedHosts