mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-08-24 02:25:34 +00:00
test custom ignored
This commit is contained in:
@@ -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() + "\""));
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"testing-ignored-a": "A",
|
||||
"testing-ignored-aaaa": "AAAA",
|
||||
"testing-ignored-a-aaaa": "A,AAAA"
|
||||
}
|
||||
Reference in New Issue
Block a user