mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Do not handle not registered domain in EPP domain:info
This commit is contained in:
parent
d86ec026e3
commit
66417d69d9
7 changed files with 41 additions and 183 deletions
|
@ -57,6 +57,10 @@ module DNS
|
|||
Domain.find_by_idn(name)
|
||||
end
|
||||
|
||||
def not_registered?
|
||||
!registered?
|
||||
end
|
||||
|
||||
def blocked?
|
||||
BlockedDomain.where(name: name).any?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue