class OceanKit::Resource::DomainRecord

Overview

Domain record resources are used to set or retrieve information about the individual DNS records configured for a domain. This allows you to build and manage DNS zone files by adding and modifying individual records for a domain.

There is also an additional field called id that is auto-assigned for each record and used as a unique identifier for requests. Each record contains all of these attribute types. For record types that do not utilize all fields, a value of null will be set for that record.

Defined in:

ocean_kit/resources/domain_record.cr

Instance Method Summary

Class methods inherited from class OceanKit::Resource::Base

new(headers : HTTP::Headers | Nil) new

Instance methods inherited from module OceanKit::Client::Connection

destroy(path, options = nil) destroy, get(path, options = nil) get, post(path, options) post, put(path, options) put, request(http_method, path, options) request

Instance Method Detail

def all(domain_name) #

To get a listing of all records configured for a domain, send a GET request to /v2/domains/$DOMAIN_NAME/records


[View source]
def create(domain, name, ip) #

[View source]
def delete(name) #

[View source]
def domain_records #

[View source]
def find(name) #

[View source]