You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
511 B
18 lines
511 B
# See #CNAME |
|
|
|
# = Canonical Name Record (CNAME) |
|
# |
|
# 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. |
|
# |
|
# Obtained from http://www.zytrax.com/books/dns/ch8/cname.html |
|
# |
|
class CNAME < Record |
|
validates :name, |
|
:length => { :maximum => 1024 }, |
|
:hostname2 => { :allow_underscore => true, :allow_wildcard_hostname => true } |
|
validates :content, :presence => true, :hostname => true |
|
|
|
end |
|
|
|
Cname = CNAME
|
|
|