Dynamic DNS
Dynamic Domain Name System (DDNS) services support devices that operate as part of the Internet of Things (IoT). IoT devices include sensors, actuators, controllers, and embedded computers that typically operate behind a router or gateway. DDNS allows you to access IoT devices on your private network from across the Internet by establishing a public name that is associated with your public IP address, and then updates the IP address associated with that name as the IP address changes.
DDNS Use Cases
Applications that benefit from DDNS are those that access IoT devices whose IP addresses can change without notice. Typically this means applications that access a device across the Internet, from a public network to a private network where the private network is guarded by a router or gateway.
As an individual, you can use DDNS to gain access to your private IoT devices from across the Internet. As a business, you can use DDNS to setup remote services for customers who own your networking and IoT products. We’ve identified just a few DDNS use cases.
Security Cameras
Security cameras operating on your home network can be
given a name so that you can easily access them from
anywhere across the Internet while away.
Example name:
cabin-cam2.samedayrules.net
Mail Server
Establish your own email server on your own
private network. Naming your email server allows
you to isolate it from changing IP addresses.
Example name:
smithmail.samedayrules.net
Game Server
Share your new game server name with friends
without them having to remenber a random IP address
that can change without notice, leaving them left out.
Example name:
minecraft.samedayrules.net
Home Automation
Establish a customized naming convention for all your home
automation equipment. Associate different prefixes with
different types of equipment.
Example name:
fan-attic.samedayrules.net
DNS Records
The Domain Name System (DNS) makes access to the Internet easier by assigning names to numbers, that is, by associating labels to Internet Protocol (IP) addresses. All devices (computers, phones, cameras, doorbells) that operate across the Internet have an IP address associated with them. IP addresses like this 205.251.242.103 are not necessarily easy to remember. However, web addresses like this amazon.com are easy to remember.
The DNS uses special records maintained in tables that are distributed across the Internet to provide this mapping from names to numbers. Several record types exist that are used for different purposes. The record types are given special names such as A, AAAA, CNAME, MX, and SRV. Dynamic DNS services allow you to create records of these types, and then send those records to DNS servers around the world for use across the Internet.
Using a Dynamic DNS service involves having some understanding of these record types, and then creating your own records to meet your needs. The dynamic part of Dynamic DNS involves periodically updating the entries in DNS records as IP addresses change. That way, if the IP address for your favorite Internet device changes, you can still use its name to access it. Special software running on your (private) network takes care of dynamically updating your DNS records.