Skip to content

Commit b1e48f5

Browse files
authored
move bot to internal
1 parent 25a43ff commit b1e48f5

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

dnsconfig.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -177,18 +177,7 @@ var reserved = require("./util/reserved.json");
177177
// Handle reserved domains
178178
for (var i = 0; i < reserved.length; i++) {
179179
var subdomainName = reserved[i];
180-
if (
181-
subdomainName !== "data" &&
182-
subdomainName !== "docs" &&
183-
subdomainName !== "ns1" &&
184-
subdomainName !== "ns2" &&
185-
subdomainName !== "ns3" &&
186-
subdomainName !== "ns4" &&
187-
subdomainName !== "raw" &&
188-
subdomainName !== "www"
189-
) {
190-
records.push(A(subdomainName, IP("192.0.2.1"), CF_PROXY_ON));
191-
}
180+
records.push(A(subdomainName, IP("192.0.2.1"), CF_PROXY_ON));
192181
}
193182

194183
// Zone last updated TXT record

util/internal.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[
2+
"bot",
23
"data",
34
"docs",
5+
"ns1",
6+
"ns2",
7+
"ns3",
8+
"ns4",
49
"raw",
510
"www"
611
]

util/reserved.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"autodiscover",
1414
"billing",
1515
"blog",
16-
"bot",
1716
"cdn",
1817
"chat",
1918
"checkout",
@@ -62,10 +61,6 @@
6261
"notifications",
6362
"ns",
6463
"ns0",
65-
"ns1",
66-
"ns2",
67-
"ns3",
68-
"ns4",
6964
"ns5",
7065
"ns6",
7166
"ns7",

0 commit comments

Comments
 (0)