record_obj

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

Data type

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

Fields

  • type
    string
    Record type, for instance A or CNAME.
  • ttl
    integer
    TTL of the DNS record. In LoopiaDNS the default is 3600 (one hour).
  • priority
    integer
    Priority of MX records. A lower priority value 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 record. This is used when the record is updated or deleted.
Was this article helpful?

Related Articles