Parent

Net::DNS::RR::PTR

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.

Public Instance Methods

ptr() click to toggle source
Alias for: ptrdname
ptrdname() click to toggle source

Gets the PTR value.

Returns a String.

# File lib/net/dns/rr/ptr.rb, line 19
def ptrdname
  @ptrdname.to_s
end
Also aliased as: ptr
value() click to toggle source

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

Returns a String.

# File lib/net/dns/rr/ptr.rb, line 29
def value
  ptrdname.to_s
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.