mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Add dnssec info to domain info query
This commit is contained in:
parent
338a58a611
commit
c8863df4c5
4 changed files with 65 additions and 21 deletions
|
@ -36,6 +36,17 @@ xml.epp_head do
|
|||
end
|
||||
end
|
||||
|
||||
xml.tag!('domain:dnssec') do
|
||||
@domain.dnskeys.each do |x|
|
||||
xml.tag!('domain:dnskey') do
|
||||
xml.tag!('domain:flags', x.flags)
|
||||
xml.tag!('domain:protocol', x.protocol)
|
||||
xml.tag!('domain:alg', x.alg)
|
||||
xml.tag!('domain:pubKey', x.public_key)
|
||||
end
|
||||
end
|
||||
end if @domain.dnskeys.any?
|
||||
|
||||
## TODO Find out what this domain:host is all about
|
||||
|
||||
xml.tag!('domain:clID', @domain.owner_contact_code)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue