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.
67 lines
1.7 KiB
JSON
67 lines
1.7 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": "@",
|
|
"naptrflags": "U",
|
|
"naptrorder": 100,
|
|
"naptrpreference": 10,
|
|
"naptrregexp": "!^.*$!sip:customer-service@example.com!",
|
|
"naptrservice": "E2U+sip",
|
|
"target": "example",
|
|
"ttl": 300,
|
|
"type": "NAPTR"
|
|
},
|
|
{
|
|
"filepos": "[line:3:5]",
|
|
"name": "@",
|
|
"naptrflags": "U",
|
|
"naptrorder": 102,
|
|
"naptrpreference": 10,
|
|
"naptrregexp": "!^.*$!mailto:information@example.com!",
|
|
"naptrservice": "E2U+email",
|
|
"target": "example",
|
|
"ttl": 300,
|
|
"type": "NAPTR"
|
|
},
|
|
{
|
|
"filepos": "[line:4:5]",
|
|
"name": "@",
|
|
"naptrflags": "U",
|
|
"naptrorder": 103,
|
|
"naptrpreference": 10,
|
|
"naptrregexp": "!^.*$!mailto:information@example.com!",
|
|
"naptrservice": "E2U+email",
|
|
"target": ".",
|
|
"ttl": 300,
|
|
"type": "NAPTR"
|
|
},
|
|
{
|
|
"filepos": "[line:5:5]",
|
|
"name": "@",
|
|
"naptrflags": "U",
|
|
"naptrorder": 104,
|
|
"naptrpreference": 10,
|
|
"naptrregexp": "!^.*$!mailto:information@example.com!",
|
|
"naptrservice": "E2U+email",
|
|
"target": ".",
|
|
"ttl": 300,
|
|
"type": "NAPTR"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"uniquename": "foo.com"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|