Class Net::DNS::RR::PTR
In: lib/net/dns/rr/ptr.rb
Parent: RR

Pointer Record (PTR)

Class for DNS Pointer (PTR) resource records.

Pointer records are the opposite of A and AAAA RRs and are used in Reverse Map zone files to map an IP address (IPv4 or IPv6) to a host name.

Methods

ptr   ptrdname   value  

Public Instance methods

ptr()

Alias for ptrdname

Gets the PTR value.

Returns a String.

Gets the standardized value for this record, represented by the value of ptrdname.

Returns a String.

[Validate]