mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +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
|
end
|
||||||
|
|
||||||
def inform_to_tech_contact(domain:, nameserver:, text: nil)
|
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
|
end
|
||||||
|
|
||||||
def inform_to_registrar(nameserver:, text: nil)
|
def inform_to_registrar(nameserver:, text: nil)
|
||||||
text = "Host record #{nameserver.hostname} of a domain #{nameserver.domain} is invalid.
|
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}"
|
Please fix or contact the registrant. Problem with nameserver #{nameserver} - #{nameserver.failed_validation_reason}"
|
||||||
logger.info text
|
logger.info text
|
||||||
ContactNotification.notify_registrar(domain: nameserver.domain, text: text)
|
# ContactNotification.notify_registrar(domain: nameserver.domain, text: text)
|
||||||
end
|
end
|
||||||
|
|
||||||
def logger
|
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."
|
text = "DNSKEY record of a domain #{domain.name} is invalid. Please fix or contact the registrant."
|
||||||
logger.info text
|
logger.info text
|
||||||
ContactNotification.notify_registrar(domain: domain, text: text)
|
# ContactNotification.notify_registrar(domain: domain, text: text)
|
||||||
ContactNotification.notify_tech_contact(domain: domain, reason: 'dnssec')
|
# ContactNotification.notify_tech_contact(domain: domain, reason: 'dnssec')
|
||||||
end
|
end
|
||||||
|
|
||||||
def validate(hostname:, domain:, type: 'DNSKEY', klass: 'IN')
|
def validate(hostname:, domain:, type: 'DNSKEY', klass: 'IN')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue