flash.net.dns

# ARecord - AS3

Package | flash.net.dns
Class | public class ARecord
Inheritance | ARecord ResourceRecord Object

Language Version: | ActionScript 3.0

Runtime Versions: | 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.

Related API Elements

DNSResolver class
AAAARecord class
MXRecord class
PTRRecord class
SRVRecord class

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | address : String The IPv4 address. | ARecord
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | name : String The query string used to look up this resource record. | ResourceRecord
|  | ttl : int The resource time-to-live (ttl) value. | ResourceRecord

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | ARecord() Creates an A resource record. | ARecord
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Property Detail

### address

property

`address:String`

Language Version: | ActionScript 3.0

Runtime Versions: | 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 Versions: | 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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00