diff --git a/app/models/concerns/orchestration/dns.rb b/app/models/concerns/orchestration/dns.rb index 5a1a6557c1b..9c7bdc82c90 100644 --- a/app/models/concerns/orchestration/dns.rb +++ b/app/models/concerns/orchestration/dns.rb @@ -108,7 +108,7 @@ def pending_dns_record_changes? end def dns_conflict_detected? - return false if ip.blank? || hostname.blank? + return false if (ip.blank? && ip6.blank?) || hostname.blank? # can't validate anything if dont have an ip-address yet return false unless require_ip4_validation? || require_ip6_validation? # we should only alert on conflicts if overwrite mode is off