mirror of https://codeberg.org/CRXN/entitydb.git
add option to add more than one dns server
Signed-off-by: Marek Küthe <m.k@mk16.de>
This commit is contained in:
parent
c84e6583ea
commit
4fcab9931a
|
@ -8,8 +8,8 @@
|
|||
"fd92:58b6:2b2::/48": {
|
||||
"description": "Bandura Communications",
|
||||
"dns": {
|
||||
"nserver": "ns1.bandura.crxn",
|
||||
"ds": "3115 15 2 37C7191FD4573523AAECDAAA127B983191B8F06C9CF0270C6B15CFFD609E8AB7"
|
||||
"nserver": ["ns1.bandura.crxn"],
|
||||
"ds": ["3115 15 2 37C7191FD4573523AAECDAAA127B983191B8F06C9CF0270C6B15CFFD609E8AB7"]
|
||||
},
|
||||
"max-len": "48",
|
||||
"device": {
|
||||
|
|
18
schema.json
18
schema.json
|
@ -37,12 +37,22 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"nserver": {
|
||||
"type": "string",
|
||||
"format": "hostname"
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "hostname"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
},
|
||||
"ds": {
|
||||
"type": "string",
|
||||
"pattern": "\\d{1,10} ([3-9]|1[0-6]) [1-4] [\\dA-F ]{40,384}"
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "\\d{1,10} ([3-9]|1[0-6]) [1-4] [\\dA-F ]{40,384}"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
Loading…
Reference in New Issue