mirror of
https://github.com/internetee/registry.git
synced 2025-08-12 12:39:34 +02:00
updated zone domain status
This commit is contained in:
parent
fc795482f6
commit
08ce8dbbb3
3 changed files with 1 additions and 12 deletions
|
@ -36,15 +36,6 @@ module Whois
|
|||
if collection == Dispute
|
||||
collection.find_by(domain_name: name)
|
||||
else
|
||||
puts "\n\n\n\n\n"
|
||||
|
||||
puts "collection: #{collection}"
|
||||
puts "name: #{name}"
|
||||
puts collection == DNS::Zone
|
||||
|
||||
puts "\n\n\n\n\n"
|
||||
|
||||
|
||||
collection == DNS::Zone ? collection.find_by(origin: name) : collection.find_by(name: name)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -7,7 +7,5 @@ class RegenerateSubzoneWhoisesJob < ApplicationJob
|
|||
|
||||
UpdateWhoisRecordJob.perform_later zone.origin, 'zone'
|
||||
end
|
||||
|
||||
UpdateWhoisRecordJob.perform_later 'olegwashere.ee', 'zone'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -34,7 +34,7 @@ module Zone::WhoisQueryable
|
|||
def domain_vars
|
||||
{
|
||||
disclaimer: Setting.registry_whois_disclaimer, name: origin,
|
||||
registered: created_at.try(:to_s, :iso8601), status: ['ok (paid and in zone)'],
|
||||
registered: created_at.try(:to_s, :iso8601), status: ['blocked'],
|
||||
changed: updated_at.try(:to_s, :iso8601), email: Setting.registry_email,
|
||||
admin_contacts: [contact_vars], tech_contacts: [contact_vars],
|
||||
nameservers: nameserver_vars, dnssec_keys: [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue