mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-12-09 13:46:07 +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.
52 lines
1,009 B
JSON
52 lines
1,009 B
JSON
{
|
|
"dns_providers": [
|
|
{
|
|
"name": "Cloudflare",
|
|
"type": "CLOUDFLAREAPI"
|
|
}
|
|
],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {
|
|
"Cloudflare": 0
|
|
},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "foo.com",
|
|
"dnscontrol_nameunicode": "foo.com",
|
|
"dnscontrol_uniquename": "foo.com"
|
|
},
|
|
"name": "foo.com",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:7:5]",
|
|
"name": "@",
|
|
"target": "1.2.3.4",
|
|
"ttl": 300,
|
|
"type": "A"
|
|
},
|
|
{
|
|
"filepos": "[line:8:5]",
|
|
"name": "p1",
|
|
"target": "1.2.3.5",
|
|
"ttl": 300,
|
|
"type": "A"
|
|
},
|
|
{
|
|
"filepos": "[line:9:5]",
|
|
"name": "p255",
|
|
"target": "1.2.4.3",
|
|
"ttl": 300,
|
|
"type": "A"
|
|
}
|
|
],
|
|
"registrar": "Third-Party",
|
|
"uniquename": "foo.com"
|
|
}
|
|
],
|
|
"registrars": [
|
|
{
|
|
"name": "Third-Party",
|
|
"type": "NONE"
|
|
}
|
|
]
|
|
}
|