Connect OVHcloud DNS zones
- graal Agentic Platform
- Version 0.30 (current)
- Open source · Apache 2.0
- Source : graalsystems/tranibor-agents@90f3de1
For an organisation administrator. Procedure connector.mcp.dns-ovh, version 2, reviewed 2026-11-25 against the vendor’s own pages. It applies to the connector type mcp/dns-ovh.
It ships with the plugin dns-ovh 0.1.2: its source. In the console, once the plugin is installed, it opens with How to set this up on the connector of the plugin’s server, and on Library › Plugins.
Addresses are written <api_url>, <public_url> and <org> here: the console shows the same text with your deployment’s own.
Before you start
Section titled “Before you start”This is the OVHcloud provider of the dns plugin: its server, dns-ovh, implements the profile
dns/dns@1 for zones hosted at OVHcloud. The dns-steward agent and the dns-change template come with
dns, name the profile and never the provider. Install both plugins in your organisation (Catalogue,
Plugins): dns first, then dns-ovh, which requires it. The server runs in the platform; there is
nothing to host. A plugin that brings a server waits for a second administrator’s approval. The dns plugin’s
page on the documentation site says what the profile does and how to combine this provider with several
providers or several accounts.
You also need:
- An OVHcloud account that holds the zones, and the right to create an API application and to validate a consumer key for it (the account owner, or a user delegated that right).
- The list of zones the connector may touch. Start with one test zone.
- This procedure was written from OVHcloud’s public documentation and API schemas (listed under “Vendor documentation”, at the end of this page). It has not been run against a real account: see “What is not confirmed”.
At OVHcloud
Section titled “At OVHcloud”-
An API application. Create one on the page of your region (the “create an application” page linked from the first-steps guide, for example
https://eu.api.ovh.com/createApp/). Name it for what it is, for exampletranibor-dns. It gives an application key (AK) and an application secret (AS). -
A consumer key restricted to your zones. The consumer key is what grants rights, so give it only these: the four verbs on the listed zones’ records and nothing else. Request it by
POST /auth/credential(no authentication; the application key goes in theX-Ovh-Applicationheader), here for the zonesexample.comandexample.net:{"accessRules": [{"method": "GET", "path": "/domain/zone"},{"method": "GET", "path": "/domain/zone/example.com"},{"method": "GET", "path": "/domain/zone/example.com/*"},{"method": "POST", "path": "/domain/zone/example.com/*"},{"method": "PUT", "path": "/domain/zone/example.com/*"},{"method": "DELETE", "path": "/domain/zone/example.com/*"},{"method": "GET", "path": "/domain/zone/example.net"},{"method": "GET", "path": "/domain/zone/example.net/*"},{"method": "POST", "path": "/domain/zone/example.net/*"},{"method": "PUT", "path": "/domain/zone/example.net/*"},{"method": "DELETE", "path": "/domain/zone/example.net/*"}],"redirection": "https://example.com/"}The answer holds
consumerKeyand avalidationUrl.GET /domain/zone(the list of the account’s zones) is the one rule that is not under a zone: the server uses it to tell which allowed zones exist. Alternatively, build the same rules on the OVHcloud “create token” page of your region (for examplehttps://api.eu.ovhcloud.com/createToken/), which takes the same methods and paths asGET,POST,PUTandDELETEfields and gives the consumer key at the end. -
Validate the consumer key. Open the
validationUrl(or finish the create-token page), sign in with an account that owns the zones, choose the validity (an unlimited key is valid until revoked; prefer a fixed validity of a few months and renew it), and validate. Until it is validated, every call is refused. -
Check what it can do with the OVHcloud API console:
GET /auth/currentCredentialshows the key’s rules, its status and its expiry.
Permissions
Section titled “Permissions”- Reads: the zones, a zone’s state, SOA and DNSSEC status, its records, one record, the zone as BIND text, its history, a plan (the diff between records you want and the live zone, with no write), and an audit.
- Writes, each a governed action: create, update and delete a record, and publish the zone. Delete and
refresh always need a person’s approval. OVHcloud holds record changes in the zone until it is
refreshed, so nothing is public before
publishis approved. - Never: DNSSEC changes, zone restore from history, NS records of the apex, or any zone outside
zones.
The consumer key’s rules are the rights; the list above in step 2 is all it needs.
In Tranibor
Section titled “In Tranibor”Install or configure the plugin and fill the connector:
| Field | Value |
|---|---|
endpoint |
ovh-eu, ovh-ca or ovh-us, as the account’s region |
application_key |
the AK of step 1 |
application_secret |
the AS of step 1 (sealed, never shown again) |
consumer_key |
the CK of step 2 (sealed, never shown again) |
zones |
the same zones as the access rules, e.g. example.com, example.net |
The server holds two locks, and each is enough on its own to stop another zone: the consumer key’s access
rules (OVHcloud refuses the call) and zones (the server refuses it before any call, on a read as on a
write). Keep both lists equal.
Test it
Section titled “Test it”The plugin’s tests also run the dns/dns@1 conformance suite against this server’s fake; the same suite runs against a throwaway zone with server/tests/live (see its docstring).
- In Tranibor, ask the connector for
get_provider(it names the instance and its zones), thenlist_zones: it lists your allowed zones that exist in the account. get_zoneon one zone: name servers and whether changes are waiting to be published.list_recordson a name, thenplan_changeswith a record you do not want changed (no write): the plan says nothing to do.- Ask the DNS steward to point a test name (for example
test.example.com) to192.0.2.1and approve the proposed create, then the publish; read the record back withget_record. Delete it afterwards (a person approves the delete and the publish).
Everything above is untested against a real account by the plugin’s author: step 4 is the first real write.
What is not confirmed
Section titled “What is not confirmed”Not found in OVHcloud’s documentation, so not confirmed; the server’s code says the same where it applies:
- The exact error text OVHcloud returns for a clock that is too far off. The server reads the server’s time
from
/auth/timeand retries once when an error mentions the signature or the timestamp. - The validity options of a consumer key:
POST /auth/credentialhas no validity field in the schema, so the validity is chosen when the key is validated (or on the create-token page). - Whether a
ttlof 0 means the zone’s default. The server never sends 0: it sendsnullon an update and leaves the TTL out on a create. - Whether a host name written without a final dot is read as relative to the zone. The server warns about it;
write absolute names (
lb.example.com.). - The quoting of TXT values in the API’s answers, and how an empty
subDomainfilter is read (the server filters again itself). - Whether an
isDeployedof false means unpublished changes or a deployment in flight. - Whether OVHcloud itself refuses a CNAME beside other records: the server checks it before writing.
- Whether
api.eu.ovhcloud.comalso serves the API forovh-eu: the server only uses the three hosts listed under “Network egress”, at the end of this page.
When it fails
Section titled “When it fails”| Symptom | Cause | What to do |
|---|---|---|
OVHcloud answered 401: the credentials were refused |
the key is not validated, expired, revoked, or the AK/AS/CK do not belong together, or the endpoint is the wrong region | check GET /auth/currentCredential; re-validate or recreate the consumer key |
OVHcloud answered 403: the consumer key's access rules do not allow this call |
the key’s rules do not cover this zone or verb | create a key with the zone’s paths (step 2) |
refused: zone ... is not in this server's allow-list |
the zone is not in zones |
add it to zones (and to a new consumer key) if it is meant |
a listed zone is missing from list_zones |
it is not in this OVHcloud account, or the key cannot list it | check the zone’s name and the account |
OVHcloud answered 404 on a record |
the record id belongs to another zone, or was deleted | list the zone’s records again |
| a change is not visible | it is held until publish is approved, and resolvers keep the old TTL |
approve the publish; the plan states the old TTL |
Later: rotate or revoke
Section titled “Later: rotate or revoke”Once the connector works, keep it working and know how to stop it:
- To stop the connector at once: in Tranibor, delete the instance (a named one) or uninstall
dns-ovh(the default instance goes only with the plugin), then revoke the consumer key at OVHcloud:DELETE /me/api/credential/{credentialId}(find the id withGET /me/api/credential; the entry shows the key’s rules, last use, expiry and status), or from the account’s API management page. - To rotate: create and validate a new consumer key (steps 2 and 3), put it in
consumer_key, then revoke the old one. - To change the zones: create a new consumer key with the new rules and change
zones; a consumer key’s rules cannot be extended after it is validated.
Fields
Section titled “Fields”| Field | What to put in it |
|---|---|
application_key |
the AK of the API application created in step 1 (an identifier) |
application_secret |
the AS of the same application, typed once |
consumer_key |
the CK of step 2, limited to the zones below, typed once |
endpoint |
ovh-eu, ovh-ca or ovh-us: the API of the region of your OVHcloud account |
zones |
the zones this connector may touch, e.g. example.com; any other zone is refused, even to read |
Network egress
Section titled “Network egress”Hosts the platform must be allowed to reach:
eu.api.ovh.comca.api.ovh.comapi.us.ovhcloud.com