update mail templates

This commit is contained in:
olegphenomenon 2022-01-12 12:24:44 +02:00
parent 35f60e53e5
commit 09ba0a2511
10 changed files with 171 additions and 15 deletions

View file

@ -46,10 +46,10 @@ class ValidateDnssecJob < ApplicationJob
return if flag
text = "DNSKEYS for #{domain.name} are invalid!"
text = "DNSKEY record of a domain #{domain.name} is invalid. Please fix or contact the registrant."
logger.info text
ContactNotification.notify_registrar(domain: domain, text: text)
ContactNotification.notify_tech_contact(domain: domain, text: text)
ContactNotification.notify_tech_contact(domain: domain, reason: 'dnssec')
end
def validate(hostname:, domain:, type: 'DNSKEY', klass: 'IN')