mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 21:55:57 +08:00
# Issue Fixes https://github.com/StackExchange/dnscontrol/issues/3898 After the v4.28.0 upgrade, the `%D` option in BIND's `"filenameformat"` option no longer works (returns "") when reading the zonefile (but it works for writing to one!). As a result, "push" always re-creates the zonefile even if there are no changes. # Resolution Fix `%D` in the zone reading code.
54 lines
1.1 KiB
JSON
54 lines
1.1 KiB
JSON
{
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "sortfoo.com",
|
|
"dnscontrol_nameunicode": "sortfoo.com",
|
|
"dnscontrol_uniquename": "sortfoo.com"
|
|
},
|
|
"name": "sortfoo.com",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:1:1]",
|
|
"name": "@",
|
|
"target": "1.2.3.4",
|
|
"ttl": 300,
|
|
"type": "A"
|
|
},
|
|
{
|
|
"filepos": "[line:1:1]",
|
|
"name": "a",
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "CNAME"
|
|
},
|
|
{
|
|
"filepos": "[line:1:1]",
|
|
"name": "b",
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "CNAME"
|
|
},
|
|
{
|
|
"filepos": "[line:1:1]",
|
|
"name": "c",
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "CNAME"
|
|
},
|
|
{
|
|
"filepos": "[line:1:1]",
|
|
"name": "d",
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "CNAME"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"uniquename": "sortfoo.com"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|