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.
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "foo.com",
|
|
"dnscontrol_nameunicode": "foo.com",
|
|
"dnscontrol_uniquename": "foo.com",
|
|
"zone_id": "Z2FTEDLFRTZ"
|
|
},
|
|
"name": "foo.com",
|
|
"records": [],
|
|
"registrar": "none",
|
|
"uniquename": "foo.com"
|
|
},
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "foo.com",
|
|
"dnscontrol_nameunicode": "foo.com",
|
|
"dnscontrol_tag": "internal",
|
|
"dnscontrol_uniquename": "foo.com!internal",
|
|
"zone_id": "Z2FTEDLFRTF"
|
|
},
|
|
"name": "foo.com",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:6:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "atest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "A",
|
|
"zone_id": "Z2FTEDLFRTZ"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"tag": "internal",
|
|
"uniquename": "foo.com!internal"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|