Learn
IoT Devices Guide
A practical guide to using dynamic DNS with IoT gateways, sensors, and edge devices — covering API integration, fleet management, and monitoring.
IoT gateways and dynamic IPs
IoT devices deployed in the field — industrial sensors, environmental monitors, edge compute nodes — often sit behind connections with dynamic IP addresses. Cellular modems, consumer-grade broadband, and satellite links all assign IPs that can change without warning.
Without DDNS, you lose remote access every time the IP rotates. NovaDNS gives each device a stable hostname like sensor-hq.novaip.link that follows the IP wherever it goes.
Updating from embedded devices
The NovaDNS API is a single HTTP endpoint — perfect for resource-constrained devices. Any tool that can make an HTTP request can update your hostname.
Using curl or wget
# Update using token auth curl "https://novadns.io/api/update?token=YOUR_TOKEN" # Or with wget (common on embedded Linux) wget -qO- "https://novadns.io/api/update?token=YOUR_TOKEN"
Using Python
import urllib.request TOKEN = "YOUR_64_CHAR_TOKEN" url = f"https://novadns.io/api/update?token={TOKEN}" with urllib.request.urlopen(url) as resp: print(resp.read().decode())
Run this on a cron job every 5 minutes, or trigger it whenever your device detects a network change. See the API Reference for all available parameters.
Platform integration
NovaDNS works alongside your existing IoT stack. Common integration patterns include:
MQTT brokers
Give your broker a stable hostname so devices can always connect, even across IP changes.
Home Assistant
Access your Home Assistant instance remotely using a NovaDNS hostname instead of a static IP.
Industrial controllers
PLCs and SCADA gateways with DynDNS support can update NovaDNS directly from the field.
Edge compute (Balena, Portainer)
Keep remote management dashboards reachable with a stable hostname per site.
Managing large device fleets
When you have dozens or hundreds of devices, NovaDNS features help you stay organized:
- Host groups — organize devices by site, project, or function. Share credentials across a group for easier provisioning.
- Team workspaces — give multiple team members access to manage devices without sharing personal credentials.
- Per-device tokens — each device gets its own 64-character token. Revoke one compromised device without affecting the rest.
- Paid plans — scale from 25 to 500 devices. All paid plans include IPv6 subnet support and custom TTL.
Webhook integration for monitoring
NovaDNS can send a webhook every time a device's IP changes. Use this to:
- Alert your monitoring system (Grafana, Datadog, PagerDuty) when a device goes offline or changes IP.
- Automatically update firewall rules or VPN configurations.
- Log IP changes to a central database for audit and compliance.
- Trigger re-provisioning scripts when a site comes back online with a new address.
See the Webhooks guide for setup instructions and payload format.
Was this page helpful?