Skip to content

Commit 463b530

Browse files
authored
Update dnsconfig.js
1 parent 112cfbc commit 463b530

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

dnsconfig.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ for (var i = 0; i < reserved.length; i++) {
153153
}
154154
}
155155

156-
var options = {
157-
no_ns: "true"
158-
};
156+
// Zone last updated TXT record
157+
records.push(TXT("_zone-updated", "\"" + Date.now().toString() + "\""));
159158

160159
var ignored = [
160+
IGNORE("\\*", "A"),
161161
IGNORE("*._domainkey", "TXT"),
162162
IGNORE("@", "*"),
163163
IGNORE("_acme-challenge", "TXT"),
@@ -175,7 +175,6 @@ var ignored = [
175175
IGNORE("www", "*")
176176
];
177177

178-
// Push TXT record of when the zone was last updated
179-
records.push(TXT("_zone-updated", "\"" + Date.now().toString() + "\""));
178+
records.push(...ignored);
180179

181-
D(domainName, registrar, dnsProvider, options, ignored, records);
180+
D(domainName, registrar, dnsProvider, records);

0 commit comments

Comments
 (0)