From 7548b294b60cac74508eb47676ca0248f7e34537 Mon Sep 17 00:00:00 2001 From: Jonathan Laliberte Date: Sun, 22 Dec 2024 22:40:30 -0500 Subject: [PATCH] Enable logging & update readme (#89) * Update wrangler.toml - enable logs * Update wrangler.toml * Update README.md --- README.md | 2 ++ wrangler.toml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index fcdee2b..9fd01fb 100644 --- a/README.md +++ b/README.md @@ -87,3 +87,5 @@ To test the configuration and force an update on a USG: - For subdomains (`sub.example.com`), create an A record manually in Cloudflare dashboard first. - If you encounter a hostname resolution error (`inadyn[2173778]: Failed resolving hostname https: Name or service not known`), remove `https://` from the `Server` field. +- If you are using wildcard subdomains, be sure to enter your `Hostname` in UniFi OS as `*.mydomain.com` +- There seems to be a bug in the UniFi OS UI that makes it impossible to edit the Dynamic DNS settings, you may need to remove the configuration and create a new one each time you need to make a change. diff --git a/wrangler.toml b/wrangler.toml index a64e479..8b7aad9 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,3 +1,9 @@ name = "unifi-cloudflare-ddns" main = "src/index.js" compatibility_date = "2023-04-23" + +[observability] +enabled = true + +[observability.logs] +enabled = true