{"repo":"willswire/unifi-ddns","free":true,"listed":false,"github":"https://github.com/willswire/unifi-ddns","clone":"git clone https://github.com/willswire/unifi-ddns.git","description":"Cloudflare DDNS (Dynamic DNS) support for UniFi OS","language":"TypeScript","stars":1280,"topics":["cloudflare","cloudflare-workers","ddns","ddns-updater","dns","ubiquiti","unifi","unifi-controller"],"license":"MIT","category":"networking-infra","readme_excerpt":"🌩️ Cloudflare DDNS for UniFi OS A Cloudflare Worker script that enables UniFi devices (e.g., UDM-Pro, USG) to dynamically update DNS A/AAAA records on Cloudflare. Why Use This? Note: UniFi Network Application 9.1.92+ includes native Cloudflare DDNS support. If your gateway runs this firmware or newer, you may not need this worker. However, the native implementation does not support multi-hostname updates, dual-stack (IPv4 + IPv6), or preserving proxy status — this worker remains useful for those use cases and for older firmware. UniFi devices running older firmware do not natively support Cloudflare as a DDNS provider. This script bridges that gap, allowing your UniFi device to keep your DNS records updated with your public IP address. 🚀 Setup Overview 1. Deploy the Cloudflare Worker Option 1: Click to Deploy 1. Click the button above. 2. Complete the deployment. 3. Note the .workers.dev route. Option 2: Deploy with Wrangler CLI 1. Clone this repository. 2. Install Wrangler CLI. 3. Run: 4. Note the .workers.dev route. 2. Generate a Cloudflare API Token 1. Go to the Cloudflare Dashboard. 2. Navigate to Profile API Tokens 3. Create a token using the Edit zone DNS template. 4. Scope the token to one specific zone. 5. Save the token securely. 3. Configure UniFi OS 1. Log in to your UniFi OS Controller. 2. Go to Settings Internet WAN Dynamic DNS . 3. Create New Dynamic DNS with the following information: - Service: custom - Hostname: subdomain.example.com or example.com - Userna","default_branch":null,"files":null,"tree":[],"storefront":"/r/willswire","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/willswire/unifi-ddns/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}