mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-15 06:16:09 +00:00
Update dnsconfig.js
This commit is contained in:
1 parent
e711069b42
commit
737efbf111
1 file changed
+2
-2
+2
-2
@@ -65,7 +65,7 @@ for (var subdomain in domains) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Handle NS records
|
// Handle NS records
|
||||||
if (domainData.record.NS && subdomainName !== "@") {
|
if (domainData.record.NS) {
|
||||||
for (var ns in domainData.record.NS) {
|
for (var ns in domainData.record.NS) {
|
||||||
commit.push(NS(subdomainName, domainData.record.NS[ns] + "."));
|
commit.push(NS(subdomainName, domainData.record.NS[ns] + "."));
|
||||||
}
|
}
|
||||||
@@ -112,4 +112,4 @@ commit.push(IGNORE("autodiscover", "CNAME"));
|
|||||||
commit.push(IGNORE("dkim._domainkey", "TXT"));
|
commit.push(IGNORE("dkim._domainkey", "TXT"));
|
||||||
|
|
||||||
// Commit all DNS records
|
// Commit all DNS records
|
||||||
D("is-a.dev", NewRegistrar("none"), DnsProvider(NewDnsProvider("cloudflare")), commit);
|
D("is-a.dev", NewRegistrar("none"), DnsProvider(NewDnsProvider("cloudflare")), DISABLE_IGNORE_SAFETY_CHECK(), commit);
|
||||||
Reference in new issue
Block a user