Interface ReverseDNSApi


  • public interface ReverseDNSApi
    Cloud DNS supports the management of reverse DNS (PTR) records for Rackspace Cloud devices such as Cloud Load Balancers and Cloud Servers (both first generation and next generation). In order to manage the PTR records for Rackspace Cloud devices, the service as well as the device resource URI must be specified along with record details.
    • Method Detail

      • list

        @Named("rdns:list")
        @GET
        @Consumes("application/json")
        @Path("/rdns/{serviceName}")
        PagedIterable<RecordDetail> list​(@QueryParam("href")
                                         URI deviceURI)
        List all of the Reverse DNS (PTR) records for a device.
      • get

        @Named("rdns:list")
        @GET
        @Consumes("application/json")
        @Path("/rdns/{serviceName}/{recordId}")
        RecordDetail get​(@QueryParam("href")
                         URI deviceURI,
                         @PathParam("recordId")
                         String recordId)
        List all of the Reverse DNS (PTR) records for a device.
      • delete

        @Named("rdns:delete")
        @DELETE
        @Path("/rdns/{serviceName}")
        @Consumes("*/*")
        Job<Void> delete​(@QueryParam("href")
                         URI deviceURI,
                         @QueryParam("ip")
                         String ipAddress)
        Delete the Reverse DNS (PTR) record with the specified IP address for a device.

        To wait for this call to complete use JobPredicates.awaitComplete(CloudDNSApi, Job).
      • deleteAll

        @Named("rdns:delete")
        @DELETE
        @Path("/rdns/{serviceName}")
        @Consumes("*/*")
        Job<Void> deleteAll​(@QueryParam("href")
                            URI deviceURI)
        Delete all Reverse DNS (PTR) records for a device.

        To wait for this call to complete use JobPredicates.awaitComplete(CloudDNSApi, Job).