🥳 Celebrate Our Launch With a $200 LIFETIME Discount OFF The Premium Plan Use: BIRTHDAY2024

This offer expires 9/30/2024, at 11:59 PM EST

BizStackPro all-in-one digital marketing platform dashboard.
Connect Mailgun to Your DNS Manager – BizStackPro Help

Connect Mailgun to Your DNS Manager

Improve deliverability by verifying your Mailgun domain. Add TXT, MX, and CNAME records, then enable tracking and unsubscribe to run compliant campaigns.

Setting Up Your Domain So Your Emails Actually Get Delivered

You may be ready to send emails, but without proper domain setup, messages can fail verification or land in spam.

Mailgun requires DNS records to confirm your domain and establish trust with email providers.

Without these records configured correctly, sending can be limited, unreliable, or blocked entirely.

This guide will show you how to connect Mailgun to your DNS manager so your domain is verified and ready for sending.

Once you understand how DNS setup works, follow the steps below to add your records, verify your domain, and enable tracking inside your Mailgun configuration.

Before You Begin

You’ll be adding DNS records (TXT, MX, and CNAME) in your DNS manager so Mailgun can verify your sending domain. If your DNS provider has a non-standard interface (for example, some registrar dashboards), you may need to contact support for help adding records correctly.

Pro tip: If you’re new to sending, use a dedicated subdomain (like mg.yourdomain.com) to isolate reputation from your main domain.

Step 1: Create a Mailgun Account

Sign up for Mailgun and choose a plan that matches your expected sending volume. If you anticipate high volume, plan around any sending limits on entry-level plans.

Step 2: Verify Your Mailgun Account

Complete Mailgun account verification (email and phone, if required) to avoid interruptions when you begin sending.

Step 3: Add Your Domain in Mailgun

In Mailgun, open Domains and add a sending domain. A dedicated subdomain is recommended for better isolation and control.

  1. Open Domains in Mailgun.
  2. Add a domain or (recommended) a dedicated subdomain (example: mg.example.com).

Why a subdomain? It helps protect your primary domain’s reputation if deliverability issues occur.

Step 4: Add DNS Records in Your DNS Manager

Mailgun will provide the exact DNS records to add. In most setups, you’ll add 2 TXT, 2 MX, and 1 CNAME. Add each record exactly as shown in Mailgun.

Important: Examples below are illustrative—do not copy. Always use the values provided inside your Mailgun domain setup.

  • TXT — Add the provided SPF/DKIM/verification TXT records (usually two separate TXT entries).
  • MX — Add both MX records with the correct priority (Mailgun typically specifies priority and target).
  • CNAME — Add the tracking CNAME record (name/host + target as provided).

Host field tip: Many DNS managers want only the subdomain portion in the Host/Name field (not the full domain). If Mailgun shows something like mailo._domainkey.mg.example.com, your DNS tool may require mailo._domainkey.mg as the host.

Step 5: Verify DNS in Mailgun

After adding DNS records, return to Mailgun and verify the domain so Mailgun can confirm everything is configured correctly.

  1. Go back to your domain in Mailgun.
  2. Click Verify DNS Settings.
  3. Confirm all checks show green. If not, correct the record and try again.

If it fails: DNS changes can take time to propagate. Some providers take up to 24–48 hours.

Step 6: Enable Tracking and Unsubscribe (Optional)

Once your domain is verified, you can enable tracking features and configure unsubscribe behavior per domain.

  1. Open Domain Settings for your sending domain in Mailgun.
  2. Enable click tracking and open tracking (if desired).
  3. Scroll to Unsubscribe → click Edit → toggle as needed → Save.

Pro Tips

  • Use a dedicated subdomain: Keeps campaigns separate from your main domain’s reputation.
  • Enable 2FA: Add two-factor authentication to protect your Mailgun account.
  • Monitor deliverability: Watch logs and analytics to spot issues early.
  • Allow for propagation: Some DNS providers take 24–48 hours to update globally.
  • Check existing services: If using the root domain, ensure it isn’t already tied to another email provider (e.g., Google Workspace).

Want stronger email setup and cleaner sending workflows?

BizStackPro pairs your email setup with CRM, automation, and conversations—so you can build a full follow-up system without duct-taping tools together.

Frequently Asked Questions

What is the benefit of using a dedicated subdomain for Mailgun?

A dedicated subdomain isolates your campaigns from your primary domain and helps protect your main domain’s reputation.

How do I verify my domain in Mailgun?

Add the DNS records Mailgun provides in your DNS manager, then click Verify DNS Settings inside Mailgun.

Can I use Mailgun with multiple domains?

Yes. You can add and manage multiple domains, and each domain has its own records and settings.

What should I do if my DNS records are not verified?

Double-check record types, hosts, and values for typos, confirm the host format your DNS tool expects, and retry after propagation (some providers take 24–48 hours).

How do I enable click and open tracking in Mailgun?

Open your domain in Mailgun Domain Settings and enable click/open tracking under tracking settings.

Can I use my root domain in Mailgun?

Yes, but confirm the domain isn’t already connected to another email service before setting it up.

Verified DNS = Better Deliverability

Add the correct Mailgun DNS records, verify your domain, then enable tracking and unsubscribe settings so you can monitor performance and stay compliant as you scale.

✅ View Plans & Features

Stronger sending. Cleaner tracking.

Disclaimer: This site is NOT endorsed by Google, Facebook or YouTube in ANY WAY. All trademarks & Logo / branding are the property of their respective owners. Please Note: This site was created in BizStackPro by Ken George II (An Affiliate of BizStackPro) and may contain affiliate links.

All About BizStackpro


Copyrights 2024 | AllAboutBizStackPro.Com | Pricing | About | Features | All Rights Reserved.