lib/truemail/audit/ptr.rb in truemail-0.1.8 vs lib/truemail/audit/ptr.rb in truemail-0.1.9
- old
+ new
@@ -8,10 +8,10 @@
GET_MY_IP_URL = 'https://api.ipify.org'
IPIFY_ERROR = 'impossible to detect current host address via third party service'
PTR_NOT_FOUND = 'ptr record for current host address was not found'
PTR_NOT_REFER = 'ptr record does not reference to current verifier domain'
- VERIFIER_DOMAIN_NOT_REFER = ''
+ VERIFIER_DOMAIN_NOT_REFER = 'a record of verifier domain not refers to current host address'
def run
return if !current_host_address && add_warning(Truemail::Audit::Ptr::IPIFY_ERROR)
return if ptr_records.empty? && add_warning(Truemail::Audit::Ptr::PTR_NOT_FOUND)
return if ptr_not_refer_to_verifier_domain? && add_warning(Truemail::Audit::Ptr::PTR_NOT_REFER)