mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Do not allow hostObj
This commit is contained in:
parent
952b379aaf
commit
cf11f1aaf8
4 changed files with 68 additions and 11 deletions
|
@ -70,8 +70,18 @@ module Epp
|
|||
name: { value: 'example.ee' },
|
||||
period: { value: '1', attrs: { unit: 'y' } },
|
||||
ns: [
|
||||
{ hostObj: { value: 'ns1.example.net' } },
|
||||
{ hostObj: { value: 'ns2.example.net' } }
|
||||
{
|
||||
hostAttr: [
|
||||
{ hostName: { value: 'ns1.example.net' } },
|
||||
{ hostAddr: { value: '192.0.2.2', attrs: { ip: 'v4' } } },
|
||||
{ hostAddr: { value: '1080:0:0:0:8:800:200C:417A', attrs: { ip: 'v6' } } }
|
||||
]
|
||||
},
|
||||
{
|
||||
hostAttr: {
|
||||
hostName: { value: 'ns2.example.net' }
|
||||
}
|
||||
}
|
||||
],
|
||||
registrant: { value: 'jd1234' },
|
||||
_anonymus: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue