Skip to content
Geek is the Way!
Menu
  • Forums
  • Sobre o blog
  • Contato
  • English
Menu

Setting up DuckDNS DDNS on your Unifi Dream Router

Posted on July 9, 2023July 9, 2023 by Thiago Crepaldi

Last Updated on July 9, 2023 by Thiago Crepaldi

DuckDNS is a simple and free Dynamic DNS (aka DDNS) service that is supported as a custom configuration on your Unifi Dream Router (aka UDR), but still very stable and easy to get it running with the right steps. Although I have mentioned this tutorial is meant for the Unifi dream Router, it should also work for Unifi Dream Machine Pro/SE Edition too, with small UI differences.

DuckDNS account

Go to duckdns.org and sign-up using one of the many supported authentication methods. In particular, I find it very handy to use GitHub or Google accounts for this purpose. Once you are logged in, take note of your account and token to use on pfSense configuration later. Finally, at the Domains section, add a sub domain and click on Add domain. If the name is available, you will get a notification and from that moment own, yoursubdomain.duckdns.org is yours!

Unifi Setup

Now that you have a sub-domain, account and token from duckdns.org, on your UDR, go to Applications >> Network >> Settings >> Internet page. Click on your WAN interface, scroll down until you find Dynamic DNS section and finally click at Create New Dynamic DNS button and fill in the form as follows:

  • Service: sitesolutions
  • Hostname: yoursubmodomain.duckdns.org
  • Username: nouser
  • Password: nopassword
  • Server: www.duckdns.org/update?domains=%h&token=YOURTOKEN

Click on Save. If you entered all correct information, right after saving, your public IP must be sent to duckdns.org servers. Go to your duckdns.org account and check it out. That is it!

You thing that you may have noticed is that Unifi does not allow you to set an interval update time… But rest assured, UDR does everything under the hood for you!

OPTIONAL: Redirect DuckDNS URL to your Domain’s

Although it is good enough to have subdomain.duckdns.org returning your router’s public IP, it is even cooler to have ddns.mydomain.com pointing to your router!

In order to do so, all you have to do is to create a CNAME record on your DNS provider. Type ddns or whatever name you prefer as subdomain and as use your full DuckDNS URL as the Target/Content (e.g. mysubdomain.duckdns.org). TTL can be as short as 15 min. If you are using Cloudflare, change Proxy type to DNS only. After creating this entry, it should take a couple minutes until ddns.mydomain.com starts redirecting to mysubdomain.duckdns.org which will point to your UDR’s public IP in turn. Pretty cool, huh?

Share this:

  • Tweet

Related

1 thought on “Setting up DuckDNS DDNS on your Unifi Dream Router”

  1. derrick oilman says:
    December 16, 2023 at 2:05 PM

    Thanks for this but why use “sitesolutions”, in he service box, when there is a “duckdns” listed.
    BTW the sitesolutions listed isn’t even spelled correctly…it says “siteutions”
    I ust used duckdns service and see how that works.

    Reply

Leave a ReplyCancel reply

LIKED? SUPPORT IT :)

Buy Me a Coffee


Search


Categories

  • Cooking (1)
  • Homelab (79)
    • APC UPS (6)
    • pfSense (40)
    • Proxmox (20)
    • Shopping (1)
    • Supermicro (2)
    • Synology NAS (8)
    • Ubiquiti (6)
    • UDM-Pro (4)
  • Random (3)
  • Wordpress (1)

Tags

Agentless monitoring (3) AP9631 (3) Apache2 (3) APC UPS (6) Bind9 (3) certificates (5) crontab (2) DDNS (5) debian (3) DNS (7) DSM (6) DuckDNS (2) Dynamic DNS (4) en_US (2) Firewall (9) gmail (3) LDAP (2) Let's Encrypt Certificates (7) monitoring (18) networking (21) PBS (3) pfsense (43) port forwarding (3) proxmox (17) proxmox backup server (3) proxmox virtual environment (16) pve (5) rev202207eng (76) security (28) SNMP (4) SNMPv1 (3) ssh (4) SSL (6) subnet (2) Synology (7) udm-pro (5) unifi (6) unifi controller (3) unifi switch (2) UPS (5) VLAN (4) vpn (9) wifi (4) Zabbix (18) Zabbix Agent2 (11)

See also

Privacy policy

Sitemap

©2025 Geek is the Way! | Design by Superb