add logging

This commit is contained in:
2026-05-14 14:47:48 -04:00
parent a257298436
commit 05fab23c66
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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 -1
View File
@@ -1,5 +1,5 @@
<p>Configuring DNS records for {{domain.domain}}.{{domain.tld}}</p>
{{#each dnsRecords}}
{{this}}
<p>{{this}}</p>
{{/each}}