Managing Pointer (PTR) records that enable reverse DNS mapping for public IP addresses
Returns a paginated list of PTR records. By default, the maximum number of records returned in the response is 1000.
To work with a larger number of records, you need to use the limit and offset parameters.
limit | integer (Limit) >= 1 Default: 1000 Maximum number of items to return in response. Used for pagination. |
offset | integer (Offset) >= 0 Default: 0 Number of items to skip. Used for pagination. |
filter | string (Filter) Filter PTR records by domain name. |
only-count | boolean (Only-Count) Default: false Return only the total count of PTR records. |
[- {
- "id": 0,
- "content": "string",
- "ip": "string",
- "user_id": 0,
- "ttl": 0
}
]
Creates a PTR record using the provided attributes.
ip required | string (Ip) IP address for which the PTR record is created. |
content | string (Content) [ 2 .. 65534 ] characters Default: "" Domain name that the IP address resolves to. |
ttl | integer (Ttl) [ 60 .. 604800 ] Default: 86400 Time-to-live value for DNS record in seconds. Controls how long DNS resolvers cache this record. |
{- "ip": "string",
- "content": "",
- "ttl": 86400
}
{- "id": 0,
- "content": "string",
- "ip": "string",
- "user_id": 0,
- "ttl": 0
}
Returns information about a specified PTR record.
ptr_id required | integer (Ptr Id) PTR record identifier. |
{- "id": 0,
- "content": "string",
- "ip": "string",
- "user_id": 0,
- "ttl": 0
}
Updates one or more attributes of the specified PTR record.
ptr_id required | integer (Ptr Id) PTR record identifier. |
ip | string (Ip) New IP address for the PTR record. |
content | string (Content) New domain name that the IP should resolve to. |
{- "ip": "string",
- "content": "string"
}
{- "id": 0,
- "content": "string",
- "ip": "string",
- "user_id": 0,
- "ttl": 0
}