Tuesday 3 June 2014

DNS & Dynamic DNS

DNS:

The DNS translates Internet domain and host names to IP addresses.

DDNS:

Dynamic DNS (DDNS) is a method of automatically updating a name server in the Domain Name System (DNS), often in real time, with the active DNS configuration of its configured hostnames, addresses or other information.

The term is used in two contexts which, while technically similar, have very different purposes and user populations.

DNS Basics
when a network application like Safari or firefox needs to make a connection, it needs the IP address of the remote computer. Normally, this process starts with the hostname, such as "www.facebook.com".

The DNS Server the looks up the numeric IP address that corresponds to the hostname.
DNS lookup diagram 
A visual example of the basic DNS lookup process.

Dynamic DNS

But for residential and small business customers, their public IP address (assigned by their ISP) frequently changes.

But this situation does make it hard to reliably connect to that location, because you never know when the IP address might change. 
They neatly solve this problem, by constantly updating their own DNS servers with the latest information about what IP address a particular hostname points to.

When you sign up with one of these DDNS services, you get your own hostname(s). You can usually choose from a variety of names, but you end up with something like "crazyhorse.example.net"

You then install a small client program on your Mac, which sends updates to your dynamic DNS service whenever your network public  IP address changes
DNS update sent to DNS server 


The next time some software somewhere looks up the numeric IP address that corresponds to the hostname, it gets the new information, and connects to the new IP address.
DNS lookup after the IP address has changed 


That is the basic principle by which dynamic DNS solves the changing-IP-address problem inherent to most residential Internet service. 



Usage:
To use DDNS, one simply signs up with a DDNS provider and installs network software on their host to monitor its IP address. For example, dyndns.com provides a free dynamic DDNS service via software that can run on Windows, Mac or Linux computers.
Dynamic DNS is an feature  for IP based security appliances like DVRs and IP cameras.
Many options are available for today's manufacturer, and these include the use of existing DDNS services like dyn.com or no-ip.com or the use of custom services hosted by the manufacturer themselves.

Some device manufacturers go a step further by only allowing their DDNS Service to be used by the devices they manufacture, and also eliminate the need for user names and passwords altogether.

No comments:

Post a Comment