record_obj

Struct that describes an entry in the DNS zone for a domain name.

Data Type

struct. The value of all of the fields are shown below.

Field

  • type
    string
    Type the item in question, for example A or CNAME.
  • ttl
    integer
    TTL of the DNS record. In LoopiaDNS default is 3600 (one hour).
  • priority
    integer
    Priority of MX records. Low priority means that the MX record is used first.
  • rdata
    string
    The data for the record. For an entry with type=A, this is the IPv4 address.
  • record_id
    integer
    ID number for the item. This is used if the entry is updated or deleted.
Was this article helpful?

Related Articles