diff --git a/dnsconfig.js b/dnsconfig.js index c1ec6f9..558fce1 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -1,6 +1,7 @@ var regNone = NewRegistrar("none"); var providerCf = DnsProvider(NewDnsProvider("cloudflare")); +var rootDomain = 'part-of.my.id'; var proxy = { // https://stackexchange.github.io/dnscontrol/providers/cloudflare on: { "cloudflare_proxy": "on" }, off: { "cloudflare_proxy": "off" } @@ -29,7 +30,6 @@ var domains = getDomainsList('./domains'); var commit = {}; for (var idx in domains) { - var domainName = "is-not.cool"; var subdomainName = domains[idx].name; var domainData = domains[idx].data; var proxyState = proxy.on; // enabled by default @@ -99,5 +99,5 @@ for (var idx in domains) { } for (var domainName in commit) { - D(domainName, regNone, providerCf, commit[domainName]); + D(rootDomain, regNone, providerCf, commit[domainName]); }