DDNS DVR Setup: Reach Your Recorder by Name, Not IP

A DDNS DVR setup gives your recorder a fixed hostname that always points at your home's current public IP address, even when your internet provider changes it. It only works if three things are true: your connection has a real public IP (not a shared one behind carrier-grade NAT), your router forwards the right port to the DVR, and the DVR or router keeps the DDNS record updated. If any of those fails, the cloud or P2P option in the phone app is usually the simpler and safer route to remote viewing.
What DDNS does, and what it does not do
Your home internet connection has a public IP address. On many plans that address changes from time to time: after a router restart, a line drop, or on the provider's own schedule. If you connect to your DVR by typing that address into a browser or app, the link breaks every time it changes.
DDNS (dynamic DNS) solves only that one problem. You register a hostname with a DDNS service, and a small updater (built into the DVR, or into the router) reports your current public IP to the service whenever it changes. The hostname then always resolves to the right address.
What DDNS does not do:
- It does not open any path into your network. Port forwarding does that, and it is a separate step.
- It does not get around carrier-grade NAT. If your provider shares one public address between many customers, the hostname will point at an address that does not lead to your router.
- It does not add any security. A DDNS hostname makes your recorder easier for you to find, and also easier for anyone else who learns or guesses the name.
So a DDNS DVR setup is really three parts: a hostname, an updater, and a forwarded port. All three have to be right.
DDNS or P2P: which route should you use?
Before spending an evening in router menus, compare the two ways of getting remote access to a security camera recorder.
P2P or cloud viewing. The DVR makes an outgoing connection to a relay service, and the phone app finds it by its device ID. No ports are opened on your router, and it works behind carrier-grade NAT. The P2P device ID explainer covers how that connection is made. For most homes this is the route to try first, and the DVR network setup guide walks through it step by step.
DDNS plus port forwarding. Your phone or computer connects straight to the DVR at your home address. People choose it when the recorder has no P2P option, when they want to use the DVR's own web interface or a desktop client from outside, or when a relay feels too slow on their connection.
The trade-off is exposure. With port forwarding, the DVR's login page or service port is reachable from the whole internet, not just from you. Automated scanners look for exactly that. If you go this route, the recorder's password and firmware become your only defence.
Step 0: check whether DDNS can work on your connection
This quick check can save you a lot of wasted effort. DDNS cannot work if your router does not hold a public address.
- Find the router's WAN address. Log in to the router's admin page (the address is usually printed on the router's label) and look at the status or internet page. Note the IP shown for the WAN or internet connection.
- Find your public address. On a phone or computer connected to the same router (on WiFi, not mobile data), search the web for "what is my IP" and note the address shown.
- Compare them.
- They match: you have a public IP on the router. DDNS can work.
- They differ: something between your router and the internet is translating addresses. Either your router sits behind another router (for example, the provider's modem is also a router), or your provider uses carrier-grade NAT.
- The WAN address starts with 10., 192.168., 172.16 to 172.31, or 100.64 to 100.127: these are private or shared ranges. Incoming connections will not reach you directly.
If you are behind carrier-grade NAT, the fix is not on your side. Some providers will give you a public IP on request, sometimes as a paid option; ask your provider. Otherwise, use P2P viewing.
If the provider's modem is also a router (double NAT), you can either put that modem into bridge mode so your own router gets the public address, or forward the port on both devices. Bridge mode is cleaner, but it changes how your whole connection works, so check with your provider before switching it.
Step 1: give the DVR a fixed local address
Port forwarding sends incoming traffic to one local address. If the DVR's address changes after a power cut, the forward points at nothing.
- On the DVR's own screen, open the main menu and go to Network (menu names vary by model and firmware).
- Note the current IP address and the gateway. The gateway should be your router's address.
- In the router's admin page, find the list of connected devices, locate the DVR, and reserve its address (the option may be called address reservation, static lease or IP binding).
- Restart the DVR and confirm it gets the same address again.
Setting a fixed address directly on the DVR also works, but make sure the gateway and DNS fields hold your router's address. A wrong DNS entry stops the DDNS updater from reaching its service, and the hostname will never update.
Step 2: note the DVR's ports and change the password
In the DVR's network menu, look for the port settings. Most recorders list at least an HTTP or web port and a service, client or media port; some also list an RTSP port. The exact names and numbers differ by model, so read them from your own screen or manual rather than assuming.
Write down which port the app or client you plan to use actually needs. Forward only that one. Forwarding every port "just in case" multiplies what is exposed.
Before going any further, change the DVR's admin password to a long, unique one. A recorder that is reachable from the internet and still uses its factory password is an easy target for strangers. Also check the manufacturer's support channel or the seller for a firmware update, and install it if one is available for your model.
Step 3: create the DDNS hostname
You have two places where the updater can run:
- On the DVR. Many recorders have a DDNS page in the network menu with a list of supported services. You register a hostname with one of those services, then enter the service, hostname, username and password on the DVR, tick Enable, and apply.
- On the router. Many routers also have a DDNS page. If your router supports it, this is often more reliable, because the router always knows its own public address and keeps updating even if the DVR is off.
Use only one updater per hostname. Two devices updating the same name can fight each other if they disagree about the address.
After applying, look for a status line such as "registered", "updated" or "success". Then check that the hostname resolves to the public address you noted in Step 0. On a computer, a simple ping or lookup of the hostname shows which address it points at.
Some free DDNS services require you to confirm the hostname periodically, or it is deleted. If your remote access suddenly stops after weeks of working, check that first.
Step 4: forward the port on the router
- In the router's admin page, find Port forwarding (also called virtual server, NAT or port mapping).
- Create a rule: external port, internal port, the DVR's reserved local address, and the protocol your DVR's manual specifies (often TCP).
- Save and, if the router asks, apply or restart.
Two tips. First, leave the router's DMZ feature off. Putting the DVR in the DMZ exposes every port on it, not just the one you need. Second, if your router has UPnP turned on, the DVR may already have opened ports by itself without you knowing. The guide on checking whether your camera is exposed online shows how to find and close those.
Step 5: test from outside your network
Testing on your home WiFi proves nothing, because many routers do not loop traffic back to themselves when you use the public hostname.
- Turn off WiFi on your phone and use mobile data.
- In the browser, app or client you plan to use, enter the hostname and the forwarded port.
- You should reach the DVR's login screen. Sign in with the DVR's own password.
What each result means:
- Login screen appears: DDNS, port forwarding and the DVR are all working.
- Times out or "cannot connect": the forward is wrong, the DVR's address changed, the provider blocks that port, or you are behind carrier-grade NAT after all. Recheck Step 0 first.
- Connects at home but not on mobile data: you tested on WiFi by mistake, or the forward is missing.
- Worked yesterday, fails today: the hostname is pointing at an old address. Check the DDNS status on the DVR or router, and check that the free hostname has not expired.
- A different device's login page appears: the forward points at the wrong local address. Fix the reservation from Step 1.
Keep the setup secure over time
A DDNS DVR setup is not "set and forget". Every so often, and always after any router change:
- Check that only the ports you chose are forwarded, and that UPnP has not added new ones.
- Install firmware updates when they are offered for your model.
- If you ever stop using remote access this way, delete the forwarding rule. A forgotten open port is a risk you no longer even watch.
If something looks wrong, such as unknown logins, settings that change by themselves, or a camera moving on its own, the guide to signs a camera was hacked and how to lock it down walks through what to do in order.
When to get help
Ask your internet provider or a qualified technician when:
- Your router's WAN address does not match your public address and you cannot tell whether it is double NAT or carrier-grade NAT.
- The DVR's DDNS page shows "registered" but the hostname still resolves to an old address after several minutes.
- Port forwarding is set correctly, the DVR is on a fixed address, and remote connections still time out. Some providers block common incoming ports on home plans.
- Your DVR has no DDNS page and no P2P option, and you are not comfortable running the updater on the router.
If the job involves moving the recorder, running new network cable through walls or ceilings, or working on ladders, switch off the power first and use a qualified electrician for any mains wiring. And if the honest answer is that you do not want a port open on your home network, that is a reasonable choice: P2P viewing exists for exactly that reason.
Install or resell cameras?
For installers and shops, DDNS jobs are a frequent source of call-backs, because the setup depends on the customer's internet plan, which can change without notice. Some practical habits:
- Check for a public IP before quoting DDNS. Compare the router's WAN address with the public address on site. If the customer is behind carrier-grade NAT, set up P2P viewing instead and explain why.
- Default to P2P for home customers. Offer DDNS only when the customer needs direct access and accepts the responsibility for passwords and updates.
- Register the DDNS hostname in the customer's name, not your own, and hand over the login details in writing. Hostnames tied to an installer's account become a problem when that installer is no longer involved.
- Forward only one port, never use DMZ, and change every default password before you leave.
- Test on the customer's phone using mobile data with them watching.
If you install or sell cameras and want information about the dealer program, see the Yoosee business page.
Frequently asked questions
Do I need DDNS if my internet provider gives me a static IP?
No. DDNS exists to follow an address that changes. If your provider gives you a fixed public IP, you can connect to that address directly, although a hostname is still easier to remember. You still need port forwarding and a strong DVR password either way.
Can I use DDNS on a 4G or 5G router?
Usually not for incoming connections. Mobile data connections are very often behind carrier-grade NAT, so the router does not hold a public address and forwarded ports never receive traffic. P2P viewing, which only needs an outgoing connection, normally works fine on these routers.
Will DDNS make my phone app connect faster than P2P?
Sometimes, because the connection goes straight to your home instead of through a relay. In practice the limit is often your home upload speed, which DDNS does not change. If live view is slow on P2P, first try the app's lower-quality stream and check your upload speed before rebuilding everything around DDNS.
Is it safe to leave the DVR's web page open to the internet?
It carries real risk. Anyone can reach the login page, so the only protection is the password and the firmware. Use a long unique password, keep the firmware updated, forward only the one port you need, and remove the rule if you stop using it.
Can I use DDNS and P2P on the same DVR at the same time?
Usually, yes. On recorders that offer both, they are separate settings and do not normally interfere with each other. Check your model's network menu to see which options it has.
