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.
91 lines
2.4 KiB
JSON
91 lines
2.4 KiB
JSON
{
|
|
"dns_providers": [],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "foo.com",
|
|
"dnscontrol_nameunicode": "foo.com",
|
|
"dnscontrol_uniquename": "foo.com"
|
|
},
|
|
"name": "foo.com",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:2:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 1,
|
|
"sshfpfingerprint": 1,
|
|
"target": "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
},
|
|
{
|
|
"filepos": "[line:3:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 1,
|
|
"sshfpfingerprint": 2,
|
|
"target": "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
},
|
|
{
|
|
"filepos": "[line:4:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 2,
|
|
"sshfpfingerprint": 1,
|
|
"target": "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
},
|
|
{
|
|
"filepos": "[line:5:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 2,
|
|
"sshfpfingerprint": 2,
|
|
"target": "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
},
|
|
{
|
|
"filepos": "[line:6:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 3,
|
|
"sshfpfingerprint": 1,
|
|
"target": "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
},
|
|
{
|
|
"filepos": "[line:7:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 3,
|
|
"sshfpfingerprint": 2,
|
|
"target": "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
},
|
|
{
|
|
"filepos": "[line:8:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 4,
|
|
"sshfpfingerprint": 1,
|
|
"target": "66c7d5540b7d75a1fb4c84febfa178ad99bdd67c",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
},
|
|
{
|
|
"filepos": "[line:9:5]",
|
|
"name": "@",
|
|
"sshfpalgorithm": 4,
|
|
"sshfpfingerprint": 2,
|
|
"target": "745a635bc46a397a5c4f21d437483005bcc40d7511ff15fbfafe913a081559bc",
|
|
"ttl": 300,
|
|
"type": "SSHFP"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"uniquename": "foo.com"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|