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.
87 lines
1.9 KiB
JSON
87 lines
1.9 KiB
JSON
{
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "foo1.com",
|
|
"dnscontrol_nameunicode": "foo1.com",
|
|
"dnscontrol_uniquename": "foo1.com"
|
|
},
|
|
"name": "foo1.com",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:2:5]",
|
|
"name": "bar",
|
|
"target": "1.1.1.1",
|
|
"ttl": 300,
|
|
"type": "A"
|
|
},
|
|
{
|
|
"filepos": "[line:3:5]",
|
|
"name": "foo",
|
|
"target": "5.5.5.5",
|
|
"ttl": 300,
|
|
"type": "A"
|
|
}
|
|
],
|
|
"registrar": "reg",
|
|
"uniquename": "foo1.com"
|
|
},
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "inny",
|
|
"dnscontrol_nameunicode": "inny",
|
|
"dnscontrol_uniquename": "inny"
|
|
},
|
|
"name": "inny",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:2:5]",
|
|
"name": "bar.foo1.com",
|
|
"target": "4.4.4.101",
|
|
"ttl": 60,
|
|
"type": "A"
|
|
},
|
|
{
|
|
"filepos": "[line:3:5]",
|
|
"name": "foo.foo1.com",
|
|
"target": "6.6.6.3",
|
|
"ttl": 60,
|
|
"type": "A"
|
|
}
|
|
],
|
|
"registrar": "reg",
|
|
"uniquename": "inny"
|
|
},
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "com.inny",
|
|
"dnscontrol_nameunicode": "com.inny",
|
|
"dnscontrol_uniquename": "com.inny"
|
|
},
|
|
"name": "com.inny",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:2:5]",
|
|
"name": "bar.foo1",
|
|
"target": "1.1.1.1",
|
|
"ttl": 99,
|
|
"type": "A"
|
|
},
|
|
{
|
|
"filepos": "[line:3:5]",
|
|
"name": "foo.foo1",
|
|
"target": "7.7.7.7",
|
|
"ttl": 99,
|
|
"type": "A"
|
|
}
|
|
],
|
|
"registrar": "reg",
|
|
"uniquename": "com.inny"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|