SoftLayer Dns Domain ResourceRecord AType

From SoftLayer Development Network Wiki

Jump to: navigation, search

Contents

Overview

SoftLayer_Dns_Domain_ResourceRecord_AType is a SoftLayer_Dns_Domain_ResourceRecord object whose type property is set to "a" and defines a DNS A record on a SoftLayer hosted domain. An A record directs a host name to an IP address. For instance if the A record for "host.example.org" points to the IP address 10.0.0.1 then the host property for the A record equals "host" and the data property equals "10.0.0.1".

User Access

Users wishing to access the SoftLayer_Dns_Domain_ResourceRecord_AType type must have the Manage DNS permission assigned to their account.

Warning! Even though our API is object based, XML-RPC can only return data as array values. The SOAP implementation treats data as object properties.

Local Properties

data

The value of a domain's resource record. This can be an IP address or a hostname. Fully qualified host and domain name data must end with the "." character.

  • Type: string
  • Length: 255 characters



domainId

An identifier belonging to the domain that a resource record is associated with.
domainId is required for object creation.

  • Type: integer
  • Length: 8 digits



host

The host defined by a resource record. A value of "@" denotes a wildcard.

  • Type: string
  • Length: 50 characters



id

A domain resource record's internal identifier.

  • Type: integer



ttl

The Time To Live value of a resource record, measured in seconds. TTL is used by a name server to determine how long to cache a resource record. An SOA record's TTL value defines the domain's overall TTL.
ttl is required for object creation.

  • Type: integer
  • Length: 8 digits
  • Default Value: 86400



type

The string "a" which defines a resource record as an A record.
type is required for object creation.

  • Type: string
  • Length: 5 characters


Relational Properties

domain

The domain that a resource record belongs to.
domain can be queried by object mask.
domain must be a unique value.

Associated Methods

See Also

External Links

Personal tools