test custom ignored

This commit is contained in:
William Harrison
2024-11-27 18:58:48 +08:00
parent 3db2927873
commit 0b55ae45ca
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -162,6 +162,12 @@ var ignored = [
IGNORE("dkim._domainkey", "TXT")
];
const ignoredDomains = require("./utils/ignored-domains.json");
for (var subdomain in ignoredDomains) {
ignored.push(IGNORE(subdomain, ignoredDomains[subdomain]));
}
// Push TXT record of when the zone was last updated
records.push(TXT("_zone-updated", "\"" + Date.now().toString() + "\""));
+5
View File
@@ -0,0 +1,5 @@
{
"testing-ignored-a": "A",
"testing-ignored-aaaa": "AAAA",
"testing-ignored-a-aaaa": "A,AAAA"
}