Skip to main content
All CollectionsDNS Setup Instructions
How to setup Dynamic Services with Cloudflare
How to setup Dynamic Services with Cloudflare

Instructions to setup Dynamic Services (Dynamic DMARC & Dynamic DKIM) using Name Servers and CNAMES with Cloudflare.

Eric Johnson avatar
Written by Eric Johnson
Updated over a year ago

Setting up Dynamic DMARC using Name Servers

  1. Login to your Cloudflare Account, and go to DNS.

  2. Select Add record.

  3. Select NS record as the Type and fill out the fields with the following info:

    1. Host: Enter the host name for the NS record.

      1. For Dynamic DMARC, enter the value: _dmarc

    2. Value: Enter the following values:

      1. For Dynamic DMARC enter the following value: ns-dmarc.ondmarc.com

  4. When finished entering information, select Save.

Setting up Dynamic DMARC using CNAME

  1. Login to your Cloudflare Account, and go to DNS.

  2. Select Add record.

  3. Select CNAME as the Type and fill out the fields with the following info:

    1. Host: Enter the host name for the CNAME record.

      1. For Dynamic DMARC, enter the value: _dmarc

    2. Value: Enter the following value:

      1. For Dynamic DMARC enter the value: _dmarc.exampledomain.com._dmarc.smart.ondmarc.com


        Note: Make sure to replace exampledomain.com within the example above with your own custom domain

  4. When finished entering information, select Save.

Setting up Dynamic DKIM using Name Servers

  1. Login to your Cloudflare Account, and go to DNS.

  2. Select Add record.

  3. Select NS record as the Type and fill out the fields with the following info:

    1. Host: Enter the host name for the NS record.

      1. For Dynamic DKIM, enter the value: _domainkey

    2. Value: Enter the following value:

      1. For Dynamic DKIM enter the following value: ns-dkim.ondmarc.com

  4. When finished entering information, select Save.

Create a free OnDMARC account to test your configuration.

Did this answer your question?