Packageflash.net.dns
Classpublic class ARecord
InheritanceARecord Inheritance ResourceRecord Inheritance Object

Language version: ActionScript 3.0
Runtime version: AIR 2

The ARecord class represents a Domain Name System (DNS) A resource record containing an IPv4 address.

A resource records are returned by a DNSResolver object as a result of a DNS lookup of a domain name.

See also

DNSResolver class
AAAARecord class
MXRecord class
PTRRecord class
SRVRecord class


Public Properties
 PropertyDefined by
  address : String
The IPv4 address.
ARecord
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedname : String
The query string used to look up this resource record.
ResourceRecord
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 Inheritedttl : int
The resource time-to-live (ttl) value.
ResourceRecord
Public Methods
 MethodDefined by
  
Creates an A resource record.
ARecord
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property detail
addressproperty
address:String  [read-write]

Language version: ActionScript 3.0
Runtime version: AIR 2

The IPv4 address.

Implementation
    public function get address():String
    public function set address(value:String):void
Constructor detail
ARecord()constructor
public function ARecord()

Language version: ActionScript 3.0
Runtime version: AIR 2

Creates an A resource record.

A records are obtained from a DNS lookup using the DNSResolver class. Application code should not create ARecord objects.