add logging
This commit is contained in:
@@ -12,6 +12,8 @@ function DomainToCoreDNS(domain) {
|
||||
}
|
||||
|
||||
async function GetAllRecords(domain) {
|
||||
console.log(`GetAllRecords for ${domain}`);
|
||||
|
||||
const prefix = DomainToCoreDNS(domain) + "/";
|
||||
if (!prefix) throw new Error("Invalid domain");
|
||||
const kvs = await client.getAll().prefix(prefix).strings();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<p>Configuring DNS records for {{domain.domain}}.{{domain.tld}}</p>
|
||||
|
||||
{{#each dnsRecords}}
|
||||
{{this}}
|
||||
<p>{{this}}</p>
|
||||
{{/each}}
|
||||
Reference in New Issue
Block a user