LightAtom

What Is Dynamic DNS?

Dynamic DNS keeps a host name pointing at your home's public IP even when your ISP changes it, so you can reach home devices by name.

Dynamic DNS (DDNS) automatically updates a DNS record whenever your public IP address changes, so a name like home.example.net always points at your home connection. A router or small app reports the new address to the DDNS provider.

How it works

A router notices a new public IP and updates the DDNS provider, so home.example.net points to 203.0.113.7 and you can connect by name when away.

Most home connections have a dynamic public IP that can change at any time. Dynamic DNS solves that:

  1. You create a host name with a DDNS provider (or use your own domain with an API-capable DNS host).
  2. Your router, NAS or a small client app checks your public IP regularly.
  3. When it changes, the client calls the provider's update API, and the provider updates the A (and AAAA) record with a short TTL.

Many routers and NAS systems have DDNS clients built in for popular providers.

Limits

  • DDNS only finds your home; you still need port forwarding to reach a device behind NAT.
  • It doesn't work behind carrier-grade NAT, because your router doesn't have its own public IPv4 address.

Modern alternatives

Tunnels and mesh VPNs such as Tailscale, ZeroTier and Cloudflare Tunnel connect out from your home, so they work behind CGNAT without port forwarding or DDNS.

Examples

  • A NAS reachable at nas-home.example.net from anywhere, with DDNS updating the address and port forwarding for 443.
  • A home VPN server at vpn.example.com, updated by the router's DDNS client.

On a Mac

To check what a DDNS name currently points to, run dig +short home.example.net and compare it with your public IP (from curl -s https://api.ipify.org). If they differ, the update client isn't working.

See it in the app

LightAtom's connections view shows incoming connections when you reach your home Mac from outside, with the remote address they come from.

Frequently asked questions

What is dynamic DNS used for?

Reaching home services, like a NAS, security cameras, a game server or a VPN, by a fixed name even though your home IP address changes.

Is dynamic DNS free?

Several providers offer free host names, often with renewal requirements. Some DNS hosts let you update records on your own domain via an API.

Does dynamic DNS work with CGNAT?

No. Behind carrier-grade NAT your home has no public IPv4 address of its own. Use IPv6 or a tunnel service instead.

Do I need dynamic DNS with a static IP?

No. With a static IP, a normal DNS record pointing at it is enough.

LightAtom team

The people who build LightAtom, a network monitor for macOS.