Domain Verification Playbook¶
Symptom: Domain verification failing or stuck in Pending.
Hypotheses¶
| Hypothesis | Likely Cause | Evidence Tag |
|---|---|---|
| DNS records not propagated | Records were added but have not yet propagated globally | [Observed] |
| Wrong TXT record | The TXT record value was copied incorrectly from the Azure portal | [Measured] |
| CNAME conflicts | Existing records at the same domain level are conflicting with the verification records | [Correlated] |
| Multiple TXT records | Multiple SPF TXT records are present at the domain root | [Inferred] |
Evidence Collection¶
1. Azure Portal¶
Check the Email Services section of your ACS resource.
2. DNS Lookup (dig/nslookup)¶
Verify records manually using the command line.
# Verify SPF record
dig txt yourdomain.com
# Verify DKIM record
dig cname selector1._domainkey.yourdomain.com
3. Check Propagation¶
Use a tool like dnschecker.org to verify records globally.
Validation¶
[Observed] Track Propagation Time¶
DNS propagation can take up to 24-48 hours. If the record was added recently, wait and retry verification in the portal.
[Measured] Verify TXT Record Value¶
Ensure the TXT record starts with v=spf1 include:spf.communication.azure.com ~all and matches the exact value provided in the portal.
[Correlated] Identify CNAME Conflicts¶
If you're using a CNAME for the root domain (not recommended), it may conflict with other record types. Use a subdomain (e.g., mail.yourdomain.com) instead.
Step-by-Step Verification Procedure¶
- Obtain Records: Go to the Azure Portal, select your Email Service, and click Setup.
- Add Records: Add the provided TXT (SPF), CNAME (DKIM), and TXT (DMARC) records to your DNS provider's control panel.
- Verify Local Records: Use
nslookup -q=txt yourdomain.comto confirm the records appear. - Trigger Verification: In the Azure Portal, click Verify for each record.
- Check Status: Ensure all records show a green checkmark and the domain status is
Verified.
See Also¶
Sources¶
- ACS Email Domain Verification Documentation
- Common DNS Troubleshooting Techniques