Update dnsconfig.js

This commit is contained in:
William Harrison authored and GitHub committed 2025-03-13 13:12:57 +08:00
1 parent d33315008f
commit b709c2b1a7
1 file changed
+3 -3
+3 -3
View File
@@ -77,8 +77,8 @@ for (var subdomain in domains) {
records.push(
MX(
subdomainName,
parseInt(mxRecord.priority) || 10 + parseInt(mx),
mxRecord.server + "."
parseInt(mxRecord.priority),
mxRecord.target + "."
)
);
}
@@ -107,7 +107,7 @@ for (var subdomain in domains) {
for (var tlsa in domainData.record.TLSA) {
var tlsaRecord = domainData.record.TLSA[tlsa];
commit[domain].records.push(
records.push(
TLSA(
subdomainName,
tlsaRecord.usage,