Static vs Dynamic IP Address: DHCP, DDNS, Reservations & When to Use Each
The complete guide to static and dynamic IP addresses — how DHCP works, when to use static, DHCP reservations, and Dynamic DNS for home servers.
What Is a Static IP Address?
A static IP address is a fixed, permanent IP address manually assigned to a device that never changes. Once assigned, the device keeps that IP address indefinitely — through reboots, router resets, and ISP line resets — until an administrator explicitly changes it.
Static IPs are used for servers, printers, routers, NAS devices, security cameras, VPN endpoints, and any device that needs to be reliably addressable at a known, unchanging address. Businesses hosting websites, email servers, or VPNs require static public IPs so their domains always resolve to the same address.
What Is a Dynamic IP Address?
A dynamic IP address is automatically assigned by a DHCP (Dynamic Host Configuration Protocol) server from a pool of available addresses. The assignment is a "lease" — it's temporary. When the lease expires (typically 24 hours to 7 days on home networks), the device may receive the same IP again (if the pool is stable) or a different one.
Most home internet connections use dynamic public IPs — your ISP assigns an IP when you connect, and may change it periodically. Inside your home network, your router's DHCP server assigns dynamic private IPs to your devices. This is efficient: IPs are only held while a device is actively using the network, allowing the same pool to serve more devices over time.
Static vs Dynamic IP: Complete Comparison
| Property | Static IP | Dynamic IP |
|---|---|---|
| Assignment | Manual / ISP-allocated permanently | DHCP server, automatic |
| Changes? | Never (unless manually changed) | Periodically (on lease expiry/reconnect) |
| Cost | Often extra charge from ISP | Included in standard plans |
| Best for | Servers, VPNs, remote access | Home users, mobile devices, general browsing |
| DNS hosting | Reliable — IP doesn't change | Requires DDNS (Dynamic DNS) |
| Remote access | Always at same address | Need DDNS or VPN to locate device |
| Security | Consistent target, easier to monitor | Harder to track over time |
| Network management | Predictable, easy to configure rules | More complex (need DHCP reservations for predictability) |
How DHCP Works
When a device connects to a network, DHCP performs a four-step exchange (DORA):
- Discover: Device broadcasts a DHCPDISCOVER message to find available DHCP servers.
- Offer: DHCP server responds with a DHCPOFFER containing an available IP, subnet mask, gateway, and DNS servers.
- Request: Device broadcasts DHCPREQUEST accepting the offered configuration.
- Acknowledge: DHCP server sends DHCPACK confirming the lease.
The lease time determines how long the device keeps the IP before requesting renewal. Short leases (1 hour) are common in busy public WiFi; long leases (7 days) suit stable home networks.
DHCP Reservations: The Best of Both Worlds
A DHCP reservation (sometimes called a static DHCP assignment) binds a specific IP address to a device's MAC address in the DHCP server. The device still uses DHCP — no manual configuration needed — but always receives the same IP. This is the recommended approach for printers, NAS, cameras, and smart home hubs in home/office networks: predictable IPs without the maintenance overhead of fully manual static configuration.
Dynamic DNS (DDNS): Reaching Dynamic IP Devices
If you host a server at home with a dynamic public IP, your IP may change periodically, making it unreachable via a fixed hostname. Dynamic DNS (DDNS) services (like No-IP, DuckDNS, Cloudflare) automatically update a DNS record whenever your IP changes. A small client runs on your router or device, detects IP changes, and updates the DNS record within seconds — so myhome.duckdns.org always resolves to your current IP. Use our DNS Lookup to check current resolution.
When Does Your IP Actually Change?
For home internet connections with dynamic public IPs:
- When your router is power-cycled (rebooted)
- When your ISP's DHCP lease expires and you get a new one
- When your ISP performs network maintenance or equipment changes
- When you connect from a different location (e.g. travel with a laptop)
Some ISPs assign "sticky" dynamic IPs that rarely change in practice, even on dynamic plans. Others change IPs frequently. Check what yours looks like now with My IP Address.
Static Public IPs for Businesses
Businesses that host email servers, web servers, VPNs, or VoIP systems almost always need static public IPs. A changing IP would break DNS records pointing to their servers, disrupt VPN connections, and require constant SPF record updates. ISPs charge more for static IPs — typically $15–50/month for residential, or included in business-grade fiber plans. For geolocation and ASN information about any static IP, use IP Lookup and ASN Lookup.
Related Tools & Guides
My IP Address | IP Lookup | DNS Lookup | What Is an IP Address? | Public vs Private IP | How to Hide Your IP