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.
34 lines
716 B
JSON
34 lines
716 B
JSON
{
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "example.com",
|
|
"dnscontrol_nameunicode": "example.com",
|
|
"dnscontrol_uniquename": "example.com"
|
|
},
|
|
"name": "example.com",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:2:5]",
|
|
"name": "normal",
|
|
"target": "1.1.1.1",
|
|
"ttl": 300,
|
|
"type": "A"
|
|
}
|
|
],
|
|
"recordsabsent": [
|
|
{
|
|
"filepos": "[line:3:5]",
|
|
"name": "helper",
|
|
"target": "2.2.2.2",
|
|
"type": "A"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"uniquename": "example.com"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|