How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (2024)

When you have remote access enabled in your UniFi Gateway, then you can always access your UniFi console through unifi.ui.com. But to connect external UniFi devices to your console, you will need to use your public IP Address. With Dynamic DNS however, we can use a hostname.

Dynamic DNS is a great option when you have a dynamic public IP Address. Not all internet providers give you a static public IP Address. They are assigned dynamically when you (re)boot your modem/router.

In this article

In this article, I will explain how you can configure Dynamic DNS for your UniFi gateway.

UniFi Dynamic DNS

Dynamic DNS is easy to configure these days in the UniFi Network app. It’s part of the advanced internet settings and supports the most popular Dynamic DNS providers. The UniFi Network app will automatically update the public IP address in the DDNS provider when it’s correctly configured.

To use DDNS you will need to make sure that your UniFi Gateway has a public IP Address. When the UniFi Gateway is connected behind a modem or router from the ISP, you will need to make sure that the modem is configured in Bridge Mode and forwards the public IP address. You can find the assigned IP Address in the UniFi Network dashboard:

How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (1)

The IP Address in the screenshot above won’t work, because it falls in the private IP address range (RFC 1918).

To configure DDNS you will need to create an account with one of the DDNS providers. In the example below we will be using No-IP, which is free to use. If you already have a domain, then you can also use Cloudflare, which I will show you as well.

Method 1 – Using Free DDNS Provider NoIp

Before we can configure Dynamic DNS in UniFi, we first need to create an account. As mentioned, we will be using the free DDNS provider No-IP. When creating the account, make sure that you write down the username and password, because we will need that later.

  1. Create an account at https://www.noip.com/sign-up
  2. Open your UniFi Network Console
  3. Go to Settings > Internet and select your Primary WAN connection
How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (2)
  1. Enabled Advanced Settings
  2. Click on Create New Dynamic DNS
How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (3)

Note

For the credetials, you will need to use the username and password that you use to sign in at No-IP.com. The username is not your email address!
  1. Configure the Dynamic DNS
    • Service – NoIP
    • Hostname yourhostname.ddns.net
    • Usersname – The username from your No-IP account (not your email address)
    • Password – The password from your No-IP account
    • ServerLeave blank!
How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (4)
  1. Click on Create and Apply Changes

It can take a couple of minutes for the DDNS record to update. Keep in mind that UniFi will only update the records if your WAN IP Address changes.

Once everything is configured, you can use the hostname to connect external UniFi devices to your network or use the hostname for VPN connections for example.

Method 2 – Cloudflare

If you have your own domain name, then you probably want to use that or a subdomain on it for your hostname. There are some DDNS providers supported where you can use your own domain name, like NameCheap, but they require that your DNS records are also managed by them.

I prefer to use Cloudflare to manage my DNS records, but Cloudflare is unfortunately not supported by default in UniFi for Dynamic DNS. We can however still use Cloudflare, by using an open-source Cloudflare worker script.

The steps to set this are up perfectly explained on the linked page. The only thing good to know is that you will need to use Dyn as the DNS service provider instead of DynDNS.

Method 3 – DuckDNS

Another popular free Dynamic DNS service is DuckDNS. With the latest UniFi Network update, we can now also use DuckDNS as a DDNS service in UniFi.

  1. Create an account at DuckDNS
  2. Register a hostname (subdomain)
  3. Note the token and subdomain name
How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (5)

With the DuckDNS registration completed, we can now go over to the UniFi Network app. I will just show the Dynamic DNS settings here, check Method 1 for detailed steps to enable DDNS.

  1. Go to the advanced WAN settings (Settings > Internet > WAN connection > Enable Advanced)
  2. Click on Create Dynamic DNS
  3. Configure it as follows: (replace [token] with your DuckDNS token)
    • Service: dyndns
    • Hostname: yourdomain.duckdns.org
    • Username: nouser
    • Password: nopassword
    • Server: www.duckdns.org/update?domains=%h&ip=%i&token=[token]
  4. Click on Save
How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (6)

Wrapping Up

Using Dynamic DNS is a great way to easily access your UniFi network from outside. Especially if you have a lot of VPN clients or external devices and don’t have a static public IP Address.

The free DDNS providers are often good enough. The Cloudflare option is great if you have your own domain, but it’s a bit more work to set everything up. For home use, I would simply go for one of the free services.

I hope you found this article helpful, if you have any questions, just drop a comment below.

0 Shares

How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin (2024)

FAQs

How to setup UniFi Dynamic DNS (DDNS) — LazyAdmin? ›

Unifi Setup

Log into your Unifi dashboard. This is done by going to the Cloud Portal login page. Click Create New Dynamic DNS which will open a configuration window. Select noip as the service, and enter all.ddnskey.com as the hostname, your DDNS Key username, and your DDNS Key password.

How to set up DDNS UniFi? ›

Unifi Setup

Log into your Unifi dashboard. This is done by going to the Cloud Portal login page. Click Create New Dynamic DNS which will open a configuration window. Select noip as the service, and enter all.ddnskey.com as the hostname, your DDNS Key username, and your DDNS Key password.

Can you use Dynamic DNS DDNS to have your linked IP updated automatically? ›

Dynamic DNS (DDNS) is a service that can automatically update DNS records when an IP address changes. Domain names convert network IP addresses to human-readable names for recognition and ease of use.

What is DDNS vs Dynamic DNS? ›

The main difference between DNS and DDNS is that regular DNS points to static IPs and requires manual updates, while DDNS uses dynamic IPs, continually checking for changes and updating the IPs automatically.

What is the best DNS server for UniFi? ›

Selecting a Reliable DNS Server

By default, UniFi will use the DNS Server provided by your Internet service provider. This is usually okay, but if you are unsure, we recommend using a public DNS Server such as 1.1. 1.1 or 8.8.

How often does UniFi update DDNS? ›

By default it should only update when the IP changes. You can issue an update manually from CLI, see HERE.

How do I check if my DDNS is working? ›

After DDNS is enabled, you can confirm it is working by performing a DNS query for the MX DDNS hostname. Open a command prompt on any workstation and type "nslookup <your dynamic DNS name>." The DNS response should return the current active public IP address of the MX.

Should I set up dynamic DNS? ›

What are the benefits of DDNS? You can access your website or server from anywhere in the world without worrying about changes to your IP address. A device on your network communicates your IP to the DDNS service periodically. You won't have to update all your records manually each time your IP address changes.

Should my DNS be static or dynamic? ›

Is it better to have a static or dynamic IP? A static IP address is better for businesses, DNS servers, and VoIP protocols, while dynamic IP addresses are better for consumers and anyone who doesn't want to pay for an IP address.

How do I setup a Dynamic DNS on my router? ›

Locate the Dynamic DNS (DDNS) settings.

On the DDNS page, select the name of your provider (e.g. NO-IP). Enter your username and password given to you by your DDNS services provider. Then enter in the hostname or domain you have created in the host or domain field.

Does DDNS change your IP address? ›

Every time the IP address changes, the DDNS service also updates your IP address, making sure it is still associated with the correct web domain.

Do I need DDNS for VPN? ›

In short? By using both DDNS and a VPN together, it's possible to always remotely and securely access your network and devices, no matter your physical location.

Should I enable Dynamic DNS on my router? ›

When do I need DDNS? DDNS is most useful for users who don't have a permanent, static IP address from their ISP (internet service provider.) This is the case for most private users and also some small businesses (e.g. coffee shops, cafes or small offices.)

How do I configure the DNS server to allow Dynamic DNS updates? ›

Click Start, point to Administrative Tools, and then click DHCP. Right-click the appropriate DHCP server or scope, and then click Properties. Click DNS. Click to select the Enable DNS dynamic updates according to the settings below check box to enable DNS dynamic update for clients that support dynamic update.

Top Articles
Creamy Mushroom & Sherry Sauce - You'll Want To Master This Recipe At Home
Dr. Greger Dinner Recipe Ideas
Top 11 Best Bloxburg House Ideas in Roblox - NeuralGamer
Where are the Best Boxing Gyms in the UK? - JD Sports
Edina Omni Portal
Koopa Wrapper 1 Point 0
Spn 1816 Fmi 9
St Als Elm Clinic
The Pope's Exorcist Showtimes Near Cinemark Hollywood Movies 20
Encore Atlanta Cheer Competition
سریال رویای شیرین جوانی قسمت 338
Www.megaredrewards.com
Mr Tire Rockland Maine
Tanger Outlets Sevierville Directory Map
Wmlink/Sspr
zopiclon | Apotheek.nl
Gmail Psu
Dallas Cowboys On Sirius Xm Radio
Georgia Vehicle Registration Fees Calculator
Uktulut Pier Ritual Site
Craigslist Red Wing Mn
Schedule 360 Albertsons
Wausau Marketplace
1973 Coupe Comparo: HQ GTS 350 + XA Falcon GT + VH Charger E55 + Leyland Force 7V
Plaza Bonita Sycuan Bus Schedule
Yonkers Results For Tonight
Myql Loan Login
Sorrento Gourmet Pizza Goshen Photos
Aes Salt Lake City Showdown
Ordensfrau: Der Tod ist die Geburt in ein Leben bei Gott
Rlcraft Toolbelt
The value of R in SI units is _____?
Prima Healthcare Columbiana Ohio
Ishow Speed Dick Leak
Finland’s Satanic Warmaster’s Werwolf Discusses His Projects
How To Paint Dinos In Ark
Cherry Spa Madison
Devotion Showtimes Near The Grand 16 - Pier Park
Hellgirl000
Taylor University Baseball Roster
Omaha Steaks Lava Cake Microwave Instructions
Best Restaurants Minocqua
Fwpd Activity Log
Dinar Detectives Cracking the Code of the Iraqi Dinar Market
Bmp 202 Blue Round Pill
Funkin' on the Heights
Displacer Cub – 5th Edition SRD
Congruent Triangles Coloring Activity Dinosaur Answer Key
Richard Mccroskey Crime Scene Photos
King Fields Mortuary
OSF OnCall Urgent Care treats minor illnesses and injuries
Craigslist Farm And Garden Missoula
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6258

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.