From 05fab23c66ff80a0a97e771ff35c2f9be3038634 Mon Sep 17 00:00:00 2001 From: Modnark Date: Thu, 14 May 2026 14:47:48 -0400 Subject: [PATCH] add logging --- coredns_bridge.js | 2 ++ views/dns.handlebars | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/coredns_bridge.js b/coredns_bridge.js index cb2c77b..6c9f251 100644 --- a/coredns_bridge.js +++ b/coredns_bridge.js @@ -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(); diff --git a/views/dns.handlebars b/views/dns.handlebars index 54fee46..a9f583c 100644 --- a/views/dns.handlebars +++ b/views/dns.handlebars @@ -1,5 +1,5 @@

Configuring DNS records for {{domain.domain}}.{{domain.tld}}

{{#each dnsRecords}} - {{this}} +

{{this}}

{{/each}} \ No newline at end of file