mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
012_duration creates multiple records under the same label, with different TTLs We plan to deprecate this going forward, in #1372. Modify the test in a way that creates one label per record, each having a different TTL format as before, to be validated.
44 lines
782 B
JSON
44 lines
782 B
JSON
{
|
|
"registrars": [],
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"name": "foo.com",
|
|
"registrar": "none",
|
|
"dnsProviders": {},
|
|
"records": [
|
|
{
|
|
"type": "A",
|
|
"name": "@",
|
|
"target": "1.2.3.4",
|
|
"ttl": 300
|
|
},
|
|
{
|
|
"type": "A",
|
|
"name": "a",
|
|
"target": "1.2.3.5",
|
|
"ttl": 300
|
|
},
|
|
{
|
|
"type": "A",
|
|
"name": "b",
|
|
"target": "1.2.3.6",
|
|
"ttl": 180
|
|
},
|
|
{
|
|
"type": "A",
|
|
"name": "c",
|
|
"target": "1.2.3.7",
|
|
"ttl": 10800
|
|
},
|
|
{
|
|
"type": "A",
|
|
"name": "d",
|
|
"target": "1.2.3.8",
|
|
"ttl": 259200
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|