ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
flash.net.dns 

PTRRecord  - AS3

Packageflash.net.dns
Classpublic class PTRRecord
InheritancePTRRecord Inheritance ResourceRecord Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The PTRRecord class represents a Domain Name System (DNS) PTR resource record containing a canonical domain name.

PTR resource records are returned by a DNSResolver object as a result of a DNS lookup of an IP address.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inherited    name : String
The query string used to look up this resource record.
ResourceRecord
      ptrdName : String
The canonical domain name assigned to the query IP address.
PTRRecord
 Inherited    ttl : int
The resource time-to-live (ttl) value.
ResourceRecord
Public Methods
 MethodDefined By
  
    PTRRecord()
Creates a PTR resource record.
PTRRecord
 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
    

ptrdName

property
ptrdName:String

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The canonical domain name assigned to the query IP address.



Implementation
    public function get ptrdName():String
    public function set ptrdName(value:String):void
Constructor Detail
    

PTRRecord

()Constructor
public function PTRRecord()

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Creates a PTR resource record.

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