reoclo dns
reoclo dns records ls <zone-or-name> [--type TXT|CNAME|MX]reoclo dns records add <name> --type TXT|CNAME|MX --content <value> [--ttl <seconds|auto>] [--priority <n>] [--zone <zone>]reoclo dns records rm <record-id> --zone <zone> [--yes]dns records manages TXT, CNAME and MX records in a Cloudflare zone that one of your Cloudflare tokens covers. Reoclo works out the zone from the record name and writes with your own token, so a name outside every covered zone is refused. You need an admin role in your organisation. See Manage other DNS records for the rules each type follows.
ls <zone-or-name>
Section titled “ls <zone-or-name>”Lists the records at a name, or every TXT, CNAME and MX record in the zone when you pass the zone itself.
$ reoclo dns records ls example.comID TYPE NAME CONTENT TTL PRIORITY MANAGED023e105f4ecef8ad9ca31a8372d0c353 TXT _dmarc.example.com v=DMARC1; p=none; rua=mailto:[email protected] auto - -5a1f0c2c0a7d4f8f9d6b1c7e2f4a8b90 MX example.com mail.example.com 300 10 -9c4e7b6d1f2a4e3b8a5d0c1b2e3f4a5b TXT _reoclo-verify.app.example.com reoclo-verification=... auto - reocloThe MANAGED column shows reoclo for records Reoclo publishes for one of your domains. You cannot remove those here.
| Flag | Meaning |
|---|---|
--type <type> | Show only this record type: TXT, CNAME or MX. |
add <name>
Section titled “add <name>”Adds one record. The name can be a full name (_dmarc.example.com) or relative to a zone you pass with --zone (_dmarc).
$ reoclo dns records add _dmarc.example.com --type TXT \✓ added TXT _dmarc.example.com in example.com (id: 023e105f4ecef8ad9ca31a8372d0c353)
$ reoclo dns records add example.com --type MX --content mail.example.com --priority 10$ reoclo dns records add _dmarc --zone example.com --type TXT --content "v=DMARC1; p=quarantine"| Flag | Meaning |
|---|---|
--type <type> | Required. TXT, CNAME or MX. |
--content <value> | Required. The text for a TXT record, the target host for a CNAME, the mail host for an MX. |
--ttl <seconds> | Time to live: auto (default) or 60 to 86400 seconds. |
--priority <n> | MX priority, 0 to 65535. Required for MX, and not allowed for other types. |
--zone <zone> | The zone the name belongs to, such as example.com. Needed for a relative name. |
A record that would clash with an existing one is refused: a duplicate, a CNAME on a name that already has records, or any record on a name Reoclo manages for a domain.
rm <record-id>
Section titled “rm <record-id>”Removes one record by its ID (see ls). Reoclo finds the zone that holds the record among the zones your Cloudflare tokens cover. Passing --zone skips that search. The command asks for confirmation, and aborts when no one can answer unless you pass --yes.
$ reoclo dns records rm 023e105f4ecef8ad9ca31a8372d0c353remove record 023e105f4ecef8ad9ca31a8372d0c353? [y/N]: y✓ record removed: 023e105f4ecef8ad9ca31a8372d0c353| Flag | Meaning |
|---|---|
--zone <zone> | The zone name, such as example.com. Optional from CLI 0.113.0; earlier versions require it. |
--yes | Skip the confirmation prompt. |
Only TXT, CNAME and MX records can be removed, and never one that Reoclo manages for a domain.
Every add and remove is recorded in your organisation’s audit log.