Create and Manage a Reverse DNS Record
Prerequisites
To create a Reverse DNS Record with Cloud DNS API, follow this step:
Perform a POST request with name, a description of reverse DNS record (optional), and the IP.
Result: On a successful POST request, you receive a response containing the reverse DNS record UUID, type, href, metadata, properties of your reverse DNS record, name, description, and IP address.
Request
Response
200 Successful operation
Create an IPv6 reverse DNS record
To create an IPv6 reverse DNS record, perform a POST request to the /reverserecords
endpoint with an IPv6 address in the request body.
Request
Response
200 Successful operation
Response Fields
id
string
UUID of the newly created reverse DNS record
2a4428b3-dbe0-4357-9c02-609025b3a40f
createdDate
string
Reverse DNS record creation timestamp
2023-03-15T09:58:59.147746133Z
lastModifiedDate
string
Reverse DNS record update timestamp
2023-03-15T09:58:59.147746133Z
name
string
Name of the reverse DNS record
mail.example.com
description
string
Description of the reverse DNS record
The reverse DNS record is used for mail.example.com
ip
string
IP address of the reverse DNS record
192.0.2.2 or 2001:0db8::1
type
string
Type of the reverse DNS record
reverserecord
href
string
URL to the reverse DNS record
Retrieve all reverse DNS records
To retrieve all reverse DNS records, perform a GET request to the /reverserecords
endpoint.
Result: On a successful GET request, you receive a response containing all reverse DNS records.
Request
Response
200 Successful operation
Response Fields
id
string
UUID of the reverse DNS record
2a4428b3-dbe0-4357-9c02-609025b3a40f
createdDate
string
Reverse DNS record creation timestamp
2023-03-15T09:58:59.147746133Z
lastModifiedDate
string
Reverse DNS record update timestamp
2023-03-15T09:58:59.147746133Z
name
string
Name of the reverse DNS record
mail.example.com
description
string
Description of the reverse DNS record
The reverse DNS record is used for mail.example.com
ip
string
IP address of the reverse DNS record
192.0.2.2 or 2001:0db8::1
type
string
Type of the reverse DNS record
reverserecord
href
string
URL to the reverse DNS record
Retrieve a reverse DNS record
To retrieve a reverse DNS record, perform a GET request to the /reverserecords/{id}
endpoint.
Result: On a successful GET request, you receive a response containing the reverse DNS record UUID, type, href, metadata, and properties of your reverse DNS record, name, description, and IP.
Request
Response
200 Successful operation
Response Fields
id
string
UUID of the reverse DNS record
2a4428b3-dbe0-4357-9c02-609025b3a40f
createdDate
string
Reverse DNS record creation timestamp
2023-03-15T09:58:59.147746133Z
lastModifiedDate
string
Reverse DNS record update timestamp
2023-03-15T09:58:59.147746133Z
name
string
Name of the reverse DNS record
mail.example.com
description
string
Description of the reverse DNS record
The reverse DNS record is used for mail.example.com
ip
string
IP address of the reverse DNS record
type
string
Type of the reverse DNS record
reverserecord
href
string
URL to the reverse DNS record
Modify a reverse DNS record
To modify a reverse DNS record, perform a PUT request to the /reverserecords/{id}
endpoint.
Result: On a successful PUT request, you receive a response containing the reverse DNS record UUID, type, href, metadata, and properties of your reverse DNS record, name, description, and IP.
Request
Response
200 Successful operation
Response Fields
id
string
UUID of the reverse DNS record
2a4428b3-dbe0-4357-9c02-609025b3a40f
createdDate
string
Reverse DNS record creation timestamp
2023-03-15T09:58:59.147746133Z
lastModifiedDate
string
Reverse DNS record update timestamp
2023-03-15T09:58:59.147746133Z
name
string
Name of the reverse DNS record
mail.example.com
description
string
Description of the reverse DNS record
The reverse DNS record is used for mail.example.com
ip
string
IP address of the reverse DNS record
192.0.2.3
type
string
Type of the reverse DNS record
reverserecord
href
string
URL to the reverse DNS record
Delete a reverse DNS record
To delete a reverse DNS record, perform a DELETE request to the /reverserecords/{id}
endpoint.
Result: On a successful DELETE request, you receive a HTTP response 202 Successful operation.
Request
Response
202 Successful operation
Quota
To retrieve the quota of reverse DNS records, perform a GET request to the /quota
endpoint.
Result: On a successful GET request, you receive a response containing the quota limits and quota usage for your contract.
Request
Response
200 OK
Response Fields
records
string
Number of DNS records
100000
reverseRecords
string
Number of reverse DNS records
5000
secondaryZones
string
Number of secondary DNS zones
100000
zones
string
Number of DNS zones
50000
records
string
Number of DNS records used
9
reverseRecords
string
Number of reverse DNS records used
1
secondaryZones
string
Number of secondary DNS zones used
6
zones
string
Number of DNS zones used
5
Last updated
Was this helpful?