🔷

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

  1. Log in to the Azure Portal
  2. Search for "DNS zones" in the top search bar
  3. Select your domain from the list

Screenshot: DNS Zone resource overview in Azure

Step 2: Add MX Records

Primary MX Record:

  1. Click "+ Record set" at the top
  2. Enter these values:
    • Name: Leave empty for root domain or enter subdomain
    • Type: MX
    • TTL: 3600 (default)
    • Mail exchange: mx1.kachaw.com
    • Priority: 10
  3. Click "OK"

Screenshot: Azure MX record creation form

Secondary MX Record:

  1. Click "+ Record set" again
  2. Enter:
    • Name: Same as above
    • Type: MX
    • Mail exchange: mx2.kachaw.com
    • Priority: 20
  3. Click "OK"

Step 3: Add SPF TXT Record

  1. Click "+ Record set"
  2. Enter:
    • Name: Leave empty for root domain
    • Type: TXT
    • TTL: 3600
    • Value: "v=spf1 a:spf.kachaw.com ~all"
  3. 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

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