Class: MooMoo::DnsZone

Inherits:
BaseCommand show all
Defined in:
lib/moo_moo/services/dns_zone.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#host, #key, #port, #response, #username

Instance Method Summary collapse

Methods inherited from BaseCommand

#attributes, #initialize, #message, register_service, #successful?

Constructor Details

This class inherits a constructor from MooMoo::BaseCommand

Instance Method Details

#create_dns_zoneObject

Creates a custom DNS zone for managed DNS service.

www.opensrs.com/docs/apidomains/create_dns_zone_request.htm



8
# File 'lib/moo_moo/services/dns_zone.rb', line 8

register_service :create_dns_zone, :domain

#delete_dns_zoneObject

Deletes the DNS zones for the specified domain.

www.opensrs.com/docs/apidomains/delete_dns_zone_request.htm



14
# File 'lib/moo_moo/services/dns_zone.rb', line 14

register_service :delete_dns_zone, :domain

#force_dns_nameserversObject

Changes the nameservers on your domain to use the nameservers for managed DNS service.

www.opensrs.com/docs/apidomains/Request_parameters_for_force_dns_nameservers.htm



21
# File 'lib/moo_moo/services/dns_zone.rb', line 21

register_service :force_dns_nameservers, :domain

#get_dns_zoneObject

View the DNS records for a specified domain.

www.opensrs.com/docs/apidomains/get_dns_zone_request.htm



27
# File 'lib/moo_moo/services/dns_zone.rb', line 27

register_service :get_dns_zone, :domain

#reset_dns_zoneObject

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.

www.opensrs.com/docs/apidomains/reset_dns_zone_request.htm



36
# File 'lib/moo_moo/services/dns_zone.rb', line 36

register_service :reset_dns_zone, :domain

#set_dns_zoneObject

Set the records for a domain's DNS zone.

www.opensrs.com/docs/apidomains/set_dns_zone_request.htm



42
# File 'lib/moo_moo/services/dns_zone.rb', line 42

register_service :set_dns_zone, :domain