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.
203 lines
5 KiB
JSON
203 lines
5 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:6:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "aaaatest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "AAAA"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:7:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "aaaatest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "AAAA",
|
|
"zone_id": "ERERTFGFGF"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:5:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "aevaltargethealthtest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "true",
|
|
"type": "A"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:3:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "atest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "A"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:4:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "atest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "A",
|
|
"zone_id": "Z2FTEDLFRTF"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:13:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "caatest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "CAA"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:8:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "cnametest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "CNAME"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:2:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "mxtest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "MX"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:14:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "naptrtest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "NAPTR"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:9:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "ptrtest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "PTR"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:12:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "spftest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "SPF"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:11:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "srvtest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "SRV"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
},
|
|
{
|
|
"filepos": "[line:10:5]",
|
|
"meta": {
|
|
"orig_custom_type": "R53_ALIAS"
|
|
},
|
|
"name": "txttest",
|
|
"r53_alias": {
|
|
"evaluate_target_health": "false",
|
|
"type": "TXT"
|
|
},
|
|
"target": "foo.com.",
|
|
"ttl": 300,
|
|
"type": "R53_ALIAS"
|
|
}
|
|
],
|
|
"registrar": "none",
|
|
"uniquename": "foo.com"
|
|
}
|
|
],
|
|
"registrars": []
|
|
}
|