> For the complete documentation index, see [llms.txt](https://docs.giftcardfactory.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giftcardfactory.app/misc/app-emails/sending-domain/domain-ownership-validation.md).

# Domain Ownership Validation

DNS Validation lets you send app emails from your own store domain without having to bring your own SendGrid or Postmark account. Behind the scenes, Gift Card Factory provisions a sender for you and gives you two DNS records (DKIM and Return-Path) to add to your domain.

### 1. Generate the DNS records

1. Open **Settings → App Emails Sending** in the Gift Card Factory app.
2. Select **DNS Validation**.
3. In **Custom outbound email**, enter the address you want emails to come from (for example `hello@yourstore.com`).
4. Click **Generate DNS Records**.<br>

<figure><img src="/files/v7H7Zc17yuFZkq0vmwiL" alt="" width="375"><figcaption></figcaption></figure>

The page will populate two records:

* a **DKIM** record (type `TXT`)
* a **Return-Path** record (type `CNAME`)

Each record shows the host (name) and value you'll need to copy into your DNS provider.

### 2. Add the records to your DNS provider

Log in to your DNS provider (Cloudflare, Route 53, GoDaddy, Shopify-managed DNS, etc.) and add both records exactly as shown — the host and value must match.

{% hint style="info" %}
DNS changes can take up to a few hours to propagate, although most providers update within 15–30 minutes.
{% endhint %}

### 3. Verify each record

Once the records are in place, come back to **Settings → App Emails Sending** and click the **Verify** button next to each record. A success banner appears when the record is found:

* **DKIM Verified!**
* **Return Path Verified!**

When both records are verified, all app emails will be sent from your custom outbound email.

If a record can't be found, the banner shows *"DNS Record Not Found"* — wait a little longer for propagation, double-check the host and value, and try again.

If you need help setting up the records, contact us at <support@code57.pl>.
