mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 12:08:27 +02:00
Attach dnskeys upon domain create
This commit is contained in:
parent
4816e46457
commit
17e1668794
2 changed files with 60 additions and 1 deletions
|
@ -339,7 +339,15 @@ class Epp::EppDomain < Domain
|
|||
def parse_dnskeys_from_frame(parsed_frame)
|
||||
res = []
|
||||
|
||||
|
||||
parsed_frame.css('dnskey').each do |x|
|
||||
res << {
|
||||
flags: x.css('flags').first.try(:text),
|
||||
protocol: x.css('protocol').first.try(:text),
|
||||
alg: x.css('alg').first.try(:text),
|
||||
public_key: x.css('pubKey').first.try(:text)
|
||||
}
|
||||
end
|
||||
res
|
||||
end
|
||||
|
||||
def check_availability(domains)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue