🔷
Microsoft Azure DNS Setup Guide
Configure MX and SPF records for domains hosted in Azure DNS.
Note: You need contributor or owner access to the DNS zone resource.
Goal
Add MX records pointing to mx1.kachaw.com
(priority 10) and mx2.kachaw.com
(priority 20), plus an SPF TXT record.
Screenshot: Azure Portal Dashboard showing DNS zones
Step 1: Access Your DNS Zone
- Log in to the Azure Portal
- Search for "DNS zones" in the top search bar
- Select your domain from the list
Screenshot: DNS Zone resource overview in Azure
Step 2: Add MX Records
Primary MX Record:
- Click "+ Record set" at the top
- Enter these values:
- Name: Leave empty for root domain or enter subdomain
- Type: MX
- TTL: 3600 (default)
- Mail exchange:
mx1.kachaw.com
- Priority:
10
- Click "OK"
Screenshot: Azure MX record creation form
Secondary MX Record:
- Click "+ Record set" again
- Enter:
- Name: Same as above
- Type: MX
- Mail exchange:
mx2.kachaw.com
- Priority:
20
- Click "OK"
Step 3: Add SPF TXT Record
- Click "+ Record set"
- Enter:
- Name: Leave empty for root domain
- Type: TXT
- TTL: 3600
- Value:
"v=spf1 a:spf.kachaw.com ~all"
- Click "OK"
Important: Azure requires quotes around TXT values. Include them exactly as shown.
Screenshot: Azure TXT record form with SPF value
Step 4: Verify Changes
- Azure typically propagates changes within 1-2 minutes
- Verify using:
- Azure's DNS query tool in the Overview pane
- MXToolbox
- Google Admin Toolbox
Screenshot: Azure DNS query results
Azure-Specific Features
- Alias Records: Special record type that can reference Azure resources
- Private DNS: Configure separate zones for private networks
- Traffic Manager: Integrates with DNS for global load balancing
Troubleshooting
- Permission errors? Check your RBAC assignments in IAM
- Records not appearing? Verify you're in the correct subscription
- Validation failures? Check Activity Log for deployment errors
Screenshot: Azure Activity Log showing DNS changes
← Back to Guides
Using Azure Private Zones?
Private DNS Guide