lib/truemail/validate/mx.rb in truemail-1.6.1 vs lib/truemail/validate/mx.rb in truemail-1.7.0
- old
+ new
@@ -17,9 +17,10 @@
end
private
def host_extractor_methods
+ return %i[hosts_from_mx_records?] if configuration.not_rfc_mx_lookup_flow
%i[hosts_from_mx_records? hosts_from_cname_records? host_from_a_record?]
end
def mx_lookup
host_extractor_methods.any? do |method|