Oracle Cloud DNS Integration Setup in EasyDMARC Trust Platform
The Oracle Cloud DNS integration connects your Oracle Cloud tenancy to EasyDMARC, so DNS Manager can read your DNS zones and publish or fix records such as DMARC, SPF and DKIM for you.
Setup takes about 10 minutes. You create a dedicated API user in Oracle Cloud, give it a short DNS policy, add an API key, and enter five values in EasyDMARC.
Note: Oracle Cloud is a DNS host, not a domain registrar. Your domain stays registered where it is; only its nameservers point to Oracle.
Before you start, make sure you have the following:- An Oracle Cloud tenancy with at least one public DNS zone. You can find your zones under Networking >> DNS management >> Zones >> Public zones.
- The domain delegated to Oracle. The domain's public nameservers must be Oracle's (ns1.pNN.dns.oraclecloud.net to ns4…). EasyDMARC only lists zones that actually resolve through Oracle, so a zone you created but never delegated won't appear. To check, run dig +short NS yourdomain.com.
- Administrator rights in Oracle Cloud, so you can create a user, a group and a policy.
EasyDMARC signs every request with an API key, and an API key always belongs to a user. A dedicated user limits EasyDMARC's access to DNS only, lets you revoke it without touching your own login, and shows EasyDMARC's changes under its own name in Oracle's audit log.
- In the Oracle Cloud Console, open ☰ >> Identity & Security >> Domains and select the Default domain.
- Go to User management >> Users >> Create user. Name it easydmarc-dns and give it an email address you control. The user doesn't need a console password.
- Go to User management >> Groups >> Create group. Name it easydmarc-dns.
- Open the group, select Assign users, and add easydmarc-dns.
The group needs three permissions: list compartments, read zones, and change records. It never creates or deletes zones.
- Open ☰ >> Identity & Security >> Policies and select the root compartment (your tenancy).
- Select Create policy, name it easydmarc-dns, and turn on Show manual editor.
- Paste these three statements, then select Create:
Allow group easydmarc-dns to inspect compartments in tenancy
Allow group easydmarc-dns to read dns-zones in tenancy
Allow group easydmarc-dns to use dns-records in tenancy
If Oracle says the group doesn't exist, add the identity domain to the group name: Allow group 'Default'/'easydmarc-dns' to …
Why these permissions are enough: use dns-records lets EasyDMARC change records, which covers every change it makes. manage would add extra record permissions that EasyDMARC never uses. For details, see Oracle's DNS policy reference.
- Open Identity & Security ▸ Domains ▸ Default ▸ Users and select easydmarc-dns.
- Under API keys, select Add API key ▸ Generate API key pair.
- Select Download private key, then Add. Keep the .pem file private: anyone with it can change your DNS.
- Oracle now shows a Configuration file preview. Keep it open; it holds four of the five values you need:
- user= (the user OCID)
- fingerprint=
- tenancy= (the tenancy OCID)
- region=
The fifth value is the private key file you downloaded.
Tip: Oracle allows up to three API keys per user, so you can rotate a key later without disconnecting first.
Using your own key: if you generate the key pair yourself, EasyDMARC accepts an RSA key in PEM format (PKCS#1 or PKCS#8), with or without a passphrase. Upload its public half under Add API key ▸ Paste a public key.
Step 4: Connect in EasyDMARC- Open the Oracle Cloud DNS integration: go to Integrations and select the Oracle Cloud tile.
- Fill in the form with the values from the configuration file preview:
- Tenancy OCID: the tenancy= value, which starts with ocid1.tenancy.oc1..
- User OCID: the user= value, which starts with ocid1.user.oc1..
- Fingerprint: the fingerprint= value, 16 pairs of characters separated by colons, such as 3a:9f:…:c2
- Region: pick the region= value from the list, such as eu-frankfurt-1
- Private Key: select Choose file and pick the .pem file you downloaded, or paste the file's text
- Passphrase: only if your key is encrypted. Leave it empty for a key Oracle generated.
- Select Connect.
EasyDMARC checks the key with Oracle, then lists your delegated zones under Discovered Domains. Select the domains you want to manage and add and verify them.
The file picker accepts .pem, .key and .txt files up to 16 KB, and reads them in your browser. A key file generated by Oracle ends with an extra OCI_API_KEY line; EasyDMARC ignores it, so you don't need to remove it.
What EasyDMARC can and can't changeEasyDMARC reads your zones and changes individual records. It never creates, deletes or moves zones.
- Which zones it finds: zones in the tenancy root and every compartment below it. Only public primary zones whose nameservers point to Oracle are listed. Private zones, secondary zones and undelegated copies are skipped.
- How it edits: one value at a time. When EasyDMARC publishes or fixes a record, every other value at the same name stays as it is.
- Record types it can add and change: A, AAAA, CNAME, MX, TXT, SPF, SRV and CAA. That covers DMARC, SPF, DKIM, MTA-STS and BIMI.
- Read-only records: NS and SOA (Oracle manages them for each zone), and DNSKEY and DS. EasyDMARC shows the DNSSEC status but doesn't change it.
- Not supported by Oracle: HTTPS, SVCB, URI and a few other types. EasyDMARC blocks these before they reach Oracle.
- Rotate the key: add a new API key to the easydmarc-dns user in Oracle, update the account in EasyDMARC with the new fingerprint and private key, then delete the old key in Oracle.
- Disconnect in EasyDMARC: open the Oracle Cloud DNS accounts list and select Disconnect on the account. This removes EasyDMARC's copy of the key. Your zones and records in Oracle stay exactly as they are.
- Cut access from Oracle: to stop access immediately, delete the API key under the easydmarc-dns user, or delete the user. Removing the policy also stops access. EasyDMARC then shows the connection as failed, but keeps your discovered domains until you reconnect or disconnect.
Troubleshooting
Most connection failures come from a key that doesn't match its fingerprint or user, or from a missing policy statement.
"Oracle Cloud rejected the key. Check the fingerprint and private key, and that the key belongs to this user." The fingerprint, private key and user OCID don't belong together, or the tenancy OCID is from another tenancy. Copy all four values from the same configuration file preview. A key added a few seconds ago may need a minute before it works.
"DNS record … was not found at Oracle Cloud, or the policy no longer allows changing it." Oracle reports a missing permission as "not found". Check that the user is in the easydmarc-dns group and that all three policy statements are in the root compartment.
"This Oracle Cloud API key is already connected to another organization." The same key is connected in a different EasyDMARC organization. Create a separate API key for each organization.
"This file does not contain a private key. Choose the .pem file downloaded from Oracle Cloud." You picked the public key or another file. Choose the private key file from Step 3.
"Invalid fingerprint. Expected 16 pairs of hex digits separated by colons." The fingerprint was cut short or has extra characters. Copy it again from the configuration file preview.
"Oracle Cloud refused the request because the EasyDMARC server clock is out of sync. Please try again later." There's a clock difference between EasyDMARC and Oracle. Try again in a few minutes.
"Oracle Cloud API rate limit exceeded. Please try again later." Too many requests reached Oracle in a short time. Try again in a few minutes.
My domain isn't in Discovered Domains. It must be a public zone, and dig +short NS yourdomain.com must return Oracle's nameservers. A nameserver change can take up to 48 hours to reach every resolver.
If the problem continues, contact EasyDMARC Support.
FAQWhich domains can I manage through this integration?
Public primary zones in the connected tenancy, including its compartments, whose nameservers point to Oracle.
Can EasyDMARC delete my DNS zones?
No. The policy lets it read zones and change individual records only. It never creates, deletes or moves zones.
Why do I need a separate user instead of my own account?
An API key always belongs to a user. A dedicated user keeps EasyDMARC's access limited to DNS, lets you revoke it without affecting your own login, and makes EasyDMARC's changes easy to spot in Oracle's audit log.
Can I use the same API key for two EasyDMARC organizations?
No. A key works for one organization only. Create a separate API key for each organization.
Does EasyDMARC change my DNSSEC settings?
No. EasyDMARC shows the DNSSEC status, but DNSKEY and DS records are read-only.
What happens to my records if I disconnect?
Nothing. Disconnecting only removes EasyDMARC's copy of the key. Your zones and records in Oracle stay as they are.
If there are still questions or concerns that remain uncovered after checking this article, you can contact EasyDMARC Technical Support.