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.
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "foo.com",
|
|
"dnscontrol_nameunicode": "foo.com",
|
|
"dnscontrol_uniquename": "foo.com"
|
|
},
|
|
"name": "foo.com",
|
|
"records": [
|
|
{
|
|
"caaflag": 128,
|
|
"caatag": "iodef",
|
|
"filepos": "[line:12:5]",
|
|
"name": "@",
|
|
"target": "https://example.com",
|
|
"ttl": 300,
|
|
"type": "CAA"
|
|
},
|
|
{
|
|
"caaflag": 128,
|
|
"caatag": "iodef",
|
|
"filepos": "[line:8:5]",
|
|
"name": "@",
|
|
"target": "mailto:test@example.com",
|
|
"ttl": 300,
|
|
"type": "CAA"
|
|
},
|
|
{
|
|
"caatag": "iodef",
|
|
"filepos": "[line:10:5]",
|
|
"name": "@",
|
|
"target": "http://example.com",
|
|
"ttl": 300,
|
|
"type": "CAA"
|
|
},
|
|
{
|
|
"caatag": "issue",
|
|
"filepos": "[line:3:5]",
|
|
"name": "@",
|
|
"target": "letsencrypt.org",
|
|
"ttl": 300,
|
|
"type": "CAA"
|
|
},
|
|
{
|
|
"caatag": "issuewild",
|
|
"filepos": "[line:5:5]",
|
|
"name": "@",
|
|
"target": ";",
|
|
"ttl": 300,
|
|
"type": "CAA"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"uniquename": "foo.com"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|