| Package | flash.net.dns |
| Class | public class ResourceRecord |
| Inheritance | ResourceRecord Object |
| Subclasses | AAAARecord, ARecord, MXRecord, PTRRecord, SRVRecord |
| Language version: | ActionScript 3.0 |
| Runtime version: | AIR 2 |
DNS resource records are returned by a DNSResolver object as a result of a DNS lookup.
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | 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 | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
| ttl : int
The resource time-to-live (ttl) value.
| ResourceRecord | ||
| name | property |
name:String [read-write]
| Language version: | ActionScript 3.0 |
| Runtime version: | AIR 2 |
The query string used to look up this resource record.
Implementation public function get name():String
public function set name(value:String):void
| ttl | property |
ttl:int [read-write]
| Language version: | ActionScript 3.0 |
| Runtime version: | AIR 2 |
The resource time-to-live (ttl) value.
The length of time (in seconds) that the resource record is valid. Records should not be cached for longer than this value. A ttl of zero means the record is volatile and must not be cached. A ttl less than zero means that the resource record is not valid.
Implementation public function get ttl():int
public function set ttl(value:int):void