# File lib/dnsruby/resource/domain_name.rb, line 23 def set_domain_name(newname) @domainname=Name.create(newname) end