dnscontrol/pkg/js/parse_tests/037-splithor.json

247 lines
5.1 KiB
JSON

{
"dns_providers": [
{
"name": "otherconfig",
"type": "CLOUDFLAREAPI"
},
{
"name": "Cloudflare",
"type": "CLOUDFLAREAPI"
},
{
"name": "bind",
"type": "BIND"
}
],
"domains": [
{
"dnsProviders": {
"otherconfig": -1
},
"meta": {
"dnscontrol_tag": "",
"dnscontrol_uniquename": "example.com"
},
"name": "example.com",
"records": [
{
"filepos": "[line:7:5]",
"name": "main",
"target": "3.3.3.3",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:19:5]",
"name": "www",
"target": "33.33.33.33",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
},
{
"dnsProviders": {
"Cloudflare": -1
},
"meta": {
"dnscontrol_tag": "inside",
"dnscontrol_uniquename": "example.com!inside"
},
"name": "example.com",
"records": [
{
"filepos": "[line:11:5]",
"name": "main",
"target": "1.1.1.1",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:23:5]",
"name": "main",
"target": "11.11.11.11",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
},
{
"dnsProviders": {
"bind": -1
},
"meta": {
"dnscontrol_tag": "outside",
"dnscontrol_uniquename": "example.com!outside"
},
"name": "example.com",
"records": [
{
"filepos": "[line:15:5]",
"name": "main",
"target": "8.8.8.8",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
},
{
"dnsProviders": {
"bind": -1
},
"meta": {
"dnscontrol_tag": "",
"dnscontrol_uniquename": "example.net"
},
"name": "example.net",
"records": [
{
"filepos": "[line:31:5]",
"name": "main",
"target": "203.0.113.12",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:27:5]",
"name": "www",
"target": "203.0.113.1",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
},
{
"dnsProviders": {
"Cloudflare": -1
},
"meta": {
"dnscontrol_tag": "inside",
"dnscontrol_uniquename": "example.net!inside"
},
"name": "example.net",
"records": [
{
"filepos": "[line:36:5]",
"name": "main",
"target": "192.0.2.1",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:31:5]",
"name": "main",
"target": "203.0.113.12",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:27:5]",
"name": "www",
"target": "203.0.113.1",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
},
{
"dnsProviders": {
"bind": -1
},
"meta": {
"dnscontrol_tag": "outside",
"dnscontrol_uniquename": "example.net!outside"
},
"name": "example.net",
"records": [
{
"filepos": "[line:41:5]",
"name": "main",
"target": "203.0.113.1",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:31:5]",
"name": "main",
"target": "203.0.113.12",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:27:5]",
"name": "www",
"target": "203.0.113.1",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
},
{
"dnsProviders": {
"bind": -1
},
"meta": {
"dnscontrol_tag": "",
"dnscontrol_uniquename": "empty.example.net"
},
"name": "empty.example.net",
"records": [
{
"filepos": "[line:49:5]",
"name": "main",
"target": "203.0.113.22",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:45:5]",
"name": "www",
"target": "203.0.113.2",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
},
{
"dnsProviders": {
"bind": -1
},
"meta": {
"dnscontrol_tag": "",
"dnscontrol_uniquename": "example-b.net"
},
"name": "example-b.net",
"records": [
{
"filepos": "[line:57:5]",
"name": "main",
"target": "203.0.113.12",
"ttl": 300,
"type": "A"
},
{
"filepos": "[line:53:5]",
"name": "www",
"target": "203.0.113.1",
"ttl": 300,
"type": "A"
}
],
"registrar": "Third-Party"
}
],
"registrars": [
{
"name": "Third-Party",
"type": "NONE"
}
]
}