Class: MooMoo::DnsZone
- Inherits:
-
BaseCommand
- Object
- BaseCommand
- MooMoo::DnsZone
- 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
-
#create_dns_zone ⇒ Object
Creates a custom DNS zone for managed DNS service.
-
#delete_dns_zone ⇒ Object
Deletes the DNS zones for the specified domain.
-
#force_dns_nameservers ⇒ Object
Changes the nameservers on your domain to use the nameservers for managed DNS service.
-
#get_dns_zone ⇒ Object
View the DNS records for a specified domain.
-
#reset_dns_zone ⇒ Object
Sets the DNS zone to the values in the specified template.
-
#set_dns_zone ⇒ Object
Set the records for a domain’s DNS zone.
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_zone ⇒ Object
Creates a custom DNS zone for managed DNS service.
8 |
# File 'lib/moo_moo/services/dns_zone.rb', line 8 register_service :create_dns_zone, :domain |
#delete_dns_zone ⇒ Object
Deletes the DNS zones for the specified domain.
14 |
# File 'lib/moo_moo/services/dns_zone.rb', line 14 register_service :delete_dns_zone, :domain |
#force_dns_nameservers ⇒ Object
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_zone ⇒ Object
View the DNS records for a specified domain.
27 |
# File 'lib/moo_moo/services/dns_zone.rb', line 27 register_service :get_dns_zone, :domain |
#reset_dns_zone ⇒ Object
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.
36 |
# File 'lib/moo_moo/services/dns_zone.rb', line 36 register_service :reset_dns_zone, :domain |
#set_dns_zone ⇒ Object
Set the records for a domain’s DNS zone.
42 |
# File 'lib/moo_moo/services/dns_zone.rb', line 42 register_service :set_dns_zone, :domain |