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

- (Object) create_dns_zone

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

- (Object) delete_dns_zone

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

- (Object) force_dns_nameservers

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

- (Object) get_dns_zone

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

- (Object) reset_dns_zone

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

- (Object) set_dns_zone

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