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.
16 lines
501 B
16 lines
501 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, :hostname => {:allow_underscore => true, :allow_wildcard_hostname => true} |
|
validates :content, :presence => true, :length => { :maximum => 20000 }, :hostname2 => true |
|
|
|
end |
|
|
|
Cname = CNAME
|
|
|