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