Skip to main content

zone_dnssec

Creates, updates, deletes, gets or lists a zone_dnssec resource.

Overview​

Namezone_dnssec
TypeResource
Idovh.domain.zone_dnssec

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
statusstringDNSSEC Status (disableInProgress, disabled, enableInProgress, enabled)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectzone_nameReturns the DNSSEC status: enabled, disabled, or being enabled or disabled.
createinsertzone_nameEnables DNSSEC on the zone. The status is enableInProgress until it completes.
deletedeletezone_nameDisables DNSSEC on the zone. The status is disableInProgress until it completes.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
zone_namestringZone name (wire: zoneName)

SELECT examples​

Returns the DNSSEC status: enabled, disabled, or being enabled or disabled.

SELECT
status
FROM ovh.domain.zone_dnssec
WHERE zone_name = '{{ zone_name }}' -- required
;

INSERT examples​

Enables DNSSEC on the zone. The status is enableInProgress until it completes.

INSERT INTO ovh.domain.zone_dnssec (
zone_name
)
SELECT
'{{ zone_name }}'
;

DELETE examples​

Disables DNSSEC on the zone. The status is disableInProgress until it completes.

DELETE FROM ovh.domain.zone_dnssec
WHERE zone_name = '{{ zone_name }}' --required
;