mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
improve notification feature
This commit is contained in:
parent
053382ffa3
commit
35f60e53e5
5 changed files with 37 additions and 16 deletions
|
@ -49,8 +49,7 @@ class ValidateDnssecJob < ApplicationJob
|
|||
text = "DNSKEYS for #{domain.name} are invalid!"
|
||||
logger.info text
|
||||
ContactNotification.notify_registrar(domain: domain, text: text)
|
||||
ContactNotification.notify_tech_contact(domain: domain)
|
||||
|
||||
ContactNotification.notify_tech_contact(domain: domain, text: text)
|
||||
end
|
||||
|
||||
def validate(hostname:, domain:, type: 'DNSKEY', klass: 'IN')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue