Dynamic DNS (DDNS) allows you to access your home network or devices using a consistent domain name, even when your internet provider assigns you a new IP address. Instead of remembering a changing IP address, you can use a memorable domain like home.example.com to always reach your network, because DDNS automatically updates the domain's DNS records whenever your IP address changes.
This feature is especially useful for remote access to home servers, security cameras, gaming servers, or any service you run on a network with a dynamic IP address. OBHost's Dynamic DNS interface makes this setup straightforward through cPanel.
How Dynamic DNS Works
Dynamic DNS solves the problem of changing IP addresses by creating an automatic update system between your network and your domain's DNS records. Here's the process:
- You create a DDNS domain in your hosting control panel, such as home.example.com
- The system generates a unique webcall URL that your device or router will use to communicate with the server
- Your device periodically contacts this URL to report its current IP address
- The server automatically updates the domain's DNS zone records to point to your current IP address
This means that even if your internet provider changes your IP address weekly or daily, your domain always points to the correct location. Anyone visiting home.example.com will reach your network, regardless of IP address changes.
Setting Up Dynamic DNS
To create a new DDNS domain, navigate to the Dynamic DNS interface in your cPanel and click the Create button. Enter the subdomain you want to use and add an optional description to help you remember what this DDNS entry is for.
After creation, the system provides you with a webcall URL. This is the critical piece that enables automatic updates. You'll need to configure your router or a device on your network to periodically call this URL. Many modern routers have built-in DDNS support, or you can use a simple script on a computer that's always connected to your network.
The webcall URL is unique and contains authentication information, so keep it secure. Anyone with access to this URL could potentially update your domain's IP address.
Managing Your DDNS Domains
The Dynamic DNS interface displays all your configured DDNS domains in a comprehensive list. For each domain, you can view:
- Domain: The full DDNS domain name you can use to access your network
- IP Address: The current IP address the domain points to, which matches your network's current address (supports both IPv4 and IPv6)
- URL: The webcall URL your device uses to update the IP address
- SSL Certificate: Any SSL certificate associated with the domain, viewable by clicking View SSL Certificate
Click on any domain to expand additional details:
- Last Update Time: When the IP address was last changed for this DDNS domain
- Last Run Time: When the system last received an update request, even if the IP address remained the same
If your IP address hasn't changed since the last update, the server maintains the existing DNS records without making unnecessary changes.
Available Actions
You can manage your DDNS domains through the Actions menu. Select the checkbox next to one or more domains, click the Action button, and choose from these options:
Recreate URL: Generates a new webcall URL for the selected domain. Use this if you suspect the current URL has been compromised or if you need to change which device performs the updates. The old URL will stop working once you recreate it.
Delete: Permanently removes the DDNS domain configuration. This action stops automatic IP address updates and removes the associated DNS records. Use caution, as deletion cannot be undone.
Best Practices for Dynamic DNS
To get the most reliable performance from your DDNS setup, configure your update frequency appropriately. Most home networks don't need updates more frequently than every 5-10 minutes. Too frequent updates can create unnecessary load, while infrequent updates might mean your domain points to an old IP address after a change.
Keep your webcall URL secure and don't share it publicly. If you need to reconfigure which device handles updates, use the Recreate URL action to invalidate the old URL and generate a new one.
Monitor the Last Update Time and Last Run Time fields to ensure your updates are working correctly. If Last Run Time is recent but Last Update Time is old, your setup is working but your IP address hasn't changed. If Last Run Time hasn't updated recently, there may be a problem with your device or router configuration.
What is the difference between dynamic and static IP addresses?
A static IP address stays the same permanently, while a dynamic IP address changes periodically based on your internet service provider's policies. Most residential internet connections use dynamic IP addresses because they're more cost-effective for providers. Dynamic DNS bridges this gap by automatically updating your domain name to follow your changing IP address.
Can I use Dynamic DNS for multiple locations?
Yes, you can create separate DDNS domains for different locations or networks. Each DDNS entry has its own unique webcall URL, so you can set up office.example.com for your office network and home.example.com for your home network. Each location updates independently using its own webcall URL.
Will Dynamic DNS work with both IPv4 and IPv6 addresses?
Yes, OBHost's Dynamic DNS system supports both IPv4 and IPv6 address formats. A single DDNS domain can even resolve to multiple IP addresses simultaneously, supporting both protocols. This ensures compatibility as networks transition to IPv6.
What happens if my device fails to update the IP address?
If your device stops calling the webcall URL, your DDNS domain will continue pointing to the last known IP address. This means if your IP address changes and no update occurs, visitors will be directed to the wrong location. Check your Last Run Time regularly to ensure updates are functioning, and verify your router or update device is properly configured and connected to the internet.
The OBHost support team is available 24/7 to help you configure and troubleshoot your Dynamic DNS setup. If you encounter any issues or have questions about DDNS configuration, visit our contact page or email support@obhost.org for assistance.