Class: Record

jala.DnsClient.Record(data)

Instances of this class wrap record data as received from the nameserver.

Constructor

new Record(data)

Constructs a new instance of jala.DnsClient.Record.
Parameters:
Name Type Description
data org.wonderly.net.dns.RR The data as received from the nameserver
Source:
Returns:
A newly constructed Record instance

Members

cname :String

The CNAME of this record. This will only be set for records of type CNAME
Type:
  • String
Source:
See:

email :String

The email address responsible for a name server. This property will only be set for records of type SOA
Type:
  • String
Source:
See:

host :String

The name of the host. This will only be set for records of type A, AAAA and NS.
Type:
  • String
Source:
See:

ipAddress :String

The IP address of the host. This will only be set for records of type A and AAAA
Type:
  • String
Source:
See:

mx :String

The name of the mail exchanging server. This is only set for records of type MX
Type:
  • String
Source:
See:

text :String

Descriptive text as received from the nameserver. This is only set for records of type TXT
Type:
  • String
Source:
See:

type :Number

The type of the nameserver record represented by this Answer instance.
Type:
  • Number
Source:
See:

Methods

getData()

Returns the wrapped nameserver record data
Source:
Returns:
The wrapped data