Sha256: 1f711de2b3049524815cf72edd2c4b6cdd4dbc5bd599c09c27a0d5d98dc21b89

Contents?: true

Size: 1.36 KB

Versions: 2

Compression:

Stored size: 1.36 KB

Contents

module MooMoo
  class DnsZone < Base

    ##
    # Creates a custom DNS zone for managed DNS service.
    #
    # http://www.opensrs.com/docs/apidomains/create_dns_zone_request.htm
    register_service :create_dns_zone, :domain

    ##
    # Deletes the DNS zones for the specified domain.
    #
    # http://www.opensrs.com/docs/apidomains/delete_dns_zone_request.htm
    register_service :delete_dns_zone, :domain

    ##
    # Changes the nameservers on your domain to use the 
    # nameservers for managed DNS service.
    #
    # http://www.opensrs.com/docs/apidomains/Request_parameters_for_force_dns_nameservers.htm
    register_service :force_dns_nameservers, :domain

    ##
    # View the DNS records for a specified domain.
    #
    # http://www.opensrs.com/docs/apidomains/get_dns_zone_request.htm
    register_service :get_dns_zone, :domain

    ##
    # Sets the DNS zone to the values in the specified template.
    # If a template is not specified in the command, the records 
    # are set to what was in the template that was used to enable 
    # the DNS service.
    #
    # http://www.opensrs.com/docs/apidomains/reset_dns_zone_request.htm
    register_service :reset_dns_zone, :domain

    ##
    # Set the records for a domain's DNS zone.
    #
    # http://www.opensrs.com/docs/apidomains/set_dns_zone_request.htm
    register_service :set_dns_zone, :domain

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moo_moo-0.3.0 lib/moo_moo/services/dns_zone.rb
moo_moo-0.2.0 lib/moo_moo/dns_zone.rb