Skip to content

Commit

Permalink
Fix dnscontrol issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tweak4141 committed Oct 20, 2024
1 parent 2ba18bf commit 66a2f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ for (var subdomain in allDomains) {
if (Array.isArray(domainData.target.TXT.value)) {
for (var txt in domainData.target.TXT) {
var txtRecord = domainData.target.TXT[txt];
commit.push(TXT(txtRecord.name === "@" ? subdomainName : txtRecord.name + "." + subdomainName, txtRecord.value));
commit.push(TXT(txtRecord.name, txtRecord.value));
}
} else {
commit.push(TXT(domainData.target.TXT.name === "@" ? subdomainName : domainData.target.TXT.name + "." + subdomainName, domainData.target.TXT.value));
Expand Down

0 comments on commit 66a2f76

Please sign in to comment.