Parent

Methods

Net::DNS::RR::CNAME

Canonical Name Record (CNAME)

Class for DNS CNAME resource records.

A CNAME record maps an alias or nickname to the real or Canonical name which may lie outside the current zone. Canonical means expected or real name.

Public Instance Methods

cname() click to toggle source

Gets the canonical name value.

Returns a String.

# File lib/net/dns/rr/cname.rb, line 19
def cname
  @cname
end
value() click to toggle source

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

Returns a String.

# File lib/net/dns/rr/cname.rb, line 27
def value
  cname.to_s
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.