mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
comment out notifications
This commit is contained in:
parent
d2e7148f4f
commit
d99330a098
2 changed files with 4 additions and 4 deletions
|
@ -109,14 +109,14 @@ class NameserverRecordValidationJob < ApplicationJob
|
|||
end
|
||||
|
||||
def inform_to_tech_contact(domain:, nameserver:, text: nil)
|
||||
ContactNotification.notify_tech_contact(domain: domain, nameserver: nameserver, reason: 'nameserver')
|
||||
# ContactNotification.notify_tech_contact(domain: domain, nameserver: nameserver, reason: 'nameserver')
|
||||
end
|
||||
|
||||
def inform_to_registrar(nameserver:, text: nil)
|
||||
text = "Host record #{nameserver.hostname} of a domain #{nameserver.domain} is invalid.
|
||||
Please fix or contact the registrant. Problem with nameserver #{nameserver} - #{nameserver.failed_validation_reason}"
|
||||
logger.info text
|
||||
ContactNotification.notify_registrar(domain: nameserver.domain, text: text)
|
||||
# ContactNotification.notify_registrar(domain: nameserver.domain, text: text)
|
||||
end
|
||||
|
||||
def logger
|
||||
|
|
|
@ -50,8 +50,8 @@ class ValidateDnssecJob < ApplicationJob
|
|||
|
||||
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, reason: 'dnssec')
|
||||
# ContactNotification.notify_registrar(domain: domain, text: text)
|
||||
# ContactNotification.notify_tech_contact(domain: domain, reason: 'dnssec')
|
||||
end
|
||||
|
||||
def validate(hostname:, domain:, type: 'DNSKEY', klass: 'IN')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue