You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
📝 (README.md): Update Worker setup instructions to clarify deployment process with Click To Deploy and Wrangler CLI
📝 (README.md): Add detailed steps for creating API tokens for UniFi client DDNS updates
📝 (README.md): Update UniFi OS configuration section to provide clearer instructions for setting up Dynamic DNS
📝 (README.md): Update section headers for consistency and clarity in the README file
Copy file name to clipboardExpand all lines: README.md
+36-15Lines changed: 36 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,32 +6,53 @@ A Cloudflare Worker script that provides a UniFi-compatible DDNS API to dynamica
6
6
7
7
UniFi Dream Machine Pro (UDM-Pro) or UniFi Security Gateway (USG) users may need to update Cloudflare domain name DNS records when their public IP address changes. UniFi does not natively support Cloudflare as a DDNS provider.
8
8
9
-
###Configuring Cloudflare
9
+
## Configuring Cloudflare
10
10
11
11
Ensure you have a Cloudflare account and your domain is configured to point to Cloudflare nameservers.
12
12
13
-
#### Install With Click To Deploy
13
+
### Worker Setup
14
+
15
+
#### Deploy With Click To Deploy
14
16
15
17
1. Deploy the Worker: [](https://deploy.workers.cloudflare.com/?url=https://github.com/workerforce/unifi-ddns)
16
18
2. Navigate to the Cloudflare Workers dashboard.
17
19
3. After deployment, note the `\*.workers.dev` route.
18
-
4. Create an API token to update DNS records:
19
-
- Go to https://dash.cloudflare.com/profile/api-tokens.
5. This should output `SUCCESS` when the DNS record is set.
64
85
65
-
####Important Notes!
86
+
### Important Notes!
66
87
67
88
- For subdomains (`sub.example.com`), create an A record manually in Cloudflare dashboard first.
68
89
- If you encounter a hostname resolution error (`inadyn[2173778]: Failed resolving hostname https: Name or service not known`), remove `https://` from the `Server` field.
0 commit comments