Revision 9bb4e25f
Added by Ohad Levy about 12 years ago
- ID 9bb4e25f77db6771096a83185dc6ce41c8be9e7f
app/models/orchestration/dns.rb | ||
---|---|---|
module InstanceMethods
|
||
|
||
def dns?
|
||
!domain.nil? and !domain.proxy.nil?
|
||
!domain.nil? and !domain.proxy.nil? and managed?
|
||
end
|
||
|
||
def dns_a_record
|
Also available in: Unified diff
fixes #1600 - records are deleted even though host is not Managed