Class: Truemail::Audit::Dns

Inherits:
Base show all
Defined in:
lib/truemail/audit/dns.rb

Constant Summary collapse

VERIFIER_DOMAIN_NOT_REFER =
'A-record of verifier domain not refers to current host ip address'

Instance Attribute Summary

Attributes inherited from Worker

#result

Instance Method Summary collapse

Methods inherited from Worker

check, #initialize

Constructor Details

This class inherits a constructor from Truemail::Worker

Instance Method Details

#runObject


8
9
10
11
# File 'lib/truemail/audit/dns.rb', line 8

def run
  return if verifier_domain_refer_to_current_host_ip?
  add_warning(Truemail::Audit::Dns::VERIFIER_DOMAIN_NOT_REFER)
end