This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
ArpaResource
Nick Douma edited this page Jun 26, 2012
·
2 revisions
Retrieves an existing reverse DNS record.
If a query is specified in the URL, all records matching the IPs or ranges are returned. Multiple queries may be specified, and must be comma separated.
If an identifier is specified, the reverse DNS record for one IP will be retrieved.
{
{
"name": <string>,
"ip": <ip>,
"reverse_dns": <string>|null,
"arpa_zone": <string>|null
},0..n
]
- 508 - Invalid request, missing required parameters or input validation failed.
- 500 - Failed to connect to database or query execution error.
- 508 - Invalid request, missing required parameters or input validation failed.
- 500 - Failed to connect to database or query execution error.
- 404 - Could not find IP.
Inserts a new Arpa record in an existing Arpa zone.
The record will be inserted in the most specific Arpa zone available. If no zone is available, an error is returned. If a record already exists, an error is returned.
{
"reverse_dns": <string>,
}
true
- 508 - Invalid request, missing required parameters or input validation failed.
- 500 - Failed to connect to database or query execution error.
- 409 - Record already exists, or tried to insert a record in a SALVE Arpa zone.
- 404 - Could not find suitable zone.
Delete an existing Arpa record.
true
- 508 - Invalid request, missing required parameters or input validation failed.
- 500 - Failed to connect to database or query execution error.
- 404 - Could not find Arpa zone.
Validates a set of Arpa requests.
{
"arpa": [ {
"identifier": <string>,
"reverse_dns": <string>
},0..n ]
}
true
- 508 - Invalid request, missing required parameters or input validation failed.