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.
103 lines
2.2 KiB
JSON
103 lines
2.2 KiB
JSON
{
|
|
"dns_providers": [
|
|
{
|
|
"name": "bind",
|
|
"type": "BIND"
|
|
}
|
|
],
|
|
"domains": [
|
|
{
|
|
"dnsProviders": {
|
|
"bind": -1
|
|
},
|
|
"meta": {
|
|
"dnscontrol_nameraw": "3.2.1.in-addr.arpa",
|
|
"dnscontrol_nameunicode": "3.2.1.in-addr.arpa",
|
|
"dnscontrol_uniquename": "3.2.1.in-addr.arpa"
|
|
},
|
|
"name": "3.2.1.in-addr.arpa",
|
|
"records": [
|
|
{
|
|
"filepos": "[line:7:5]",
|
|
"name": "1",
|
|
"target": "foo.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:8:5]",
|
|
"name": "2",
|
|
"target": "bar.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:9:5]",
|
|
"meta": {
|
|
"skip_fqdn_check": "true"
|
|
},
|
|
"name": "3",
|
|
"target": "baz.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:14:5]",
|
|
"name": "4",
|
|
"subdomain": "4",
|
|
"target": "silly.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:17:5]",
|
|
"name": "5",
|
|
"subdomain": "5",
|
|
"target": "willy.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:20:5]",
|
|
"name": "6",
|
|
"subdomain": "6",
|
|
"target": "billy.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:24:5]",
|
|
"name": "7",
|
|
"target": "my.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:27:5]",
|
|
"name": "8",
|
|
"target": "fair.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
},
|
|
{
|
|
"filepos": "[line:30:5]",
|
|
"meta": {
|
|
"skip_fqdn_check": "true"
|
|
},
|
|
"name": "9",
|
|
"target": "lady.example.com.",
|
|
"ttl": 300,
|
|
"type": "PTR"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"uniquename": "3.2.1.in-addr.arpa"
|
|
}
|
|
],
|
|
"registrars": [
|
|
{
|
|
"name": "none",
|
|
"type": "NONE"
|
|
}
|
|
]
|
|
}
|