OVH Domain icon

OVH Domain

Manage OVH domains - Developed by Ascenzia

Actions16

DNS Record → Create

AI-generated

Summary

Create a DNS record within a specified DNS zone on OVH by providing the zone name or ID, record type, subdomain (optional), target value, TTL, and priority (for MX and SRV records).

Inputs

  • Zone Name or ID (required) — Select the DNS zone where the record will be created, choosing from a loaded list or specifying an ID via expression.
  • Record Type (required) — The DNS record type to create (e.g., A, AAAA, CNAME, MX, NS, PTR, SRV, TXT).
  • Subdomain — The subdomain for the new record; leave empty to apply to the root domain.
  • Target (required) — The target value for the DNS record (e.g., IP address, hostname).
  • TTL — Time to live for the DNS record in seconds; defaults to 3600.
  • Priority — Priority value used only for MX and SRV record types; defaults to 10.

Output shape

a JSON object representing the created DNS record with its properties as returned by OVH's API.

If the record type is MX or SRV, the priority is prepended to the target value in the request. The operation returns the created record's details as a JSON object.

Examples

Example 1: Create an A record

Set Zone Name to example.com, Record Type to A, Subdomain to www, Target to 192.168.1.1, TTL to 3600.

Links

Discussion