Dynamic Domain Name Service
Dynamic Domain Name Service
DDNS
Dynamic Domain Name Service
Chapter 1
Abstract
The Domain Name System (DNS) provides name service for the DARPA Internet. It is one of
the largest name services in operation today, serves a highly diverse community of hosts, users,
and net-works, and uses a unique combination of hierarchies, caching, and datagram access.
Introduction
Dynamic DNS (DDNS) is a method of automatically updating a name server in the Domain
Name Server (DNS), often in real time, with the active DDNS configuration of its configured
hostnames, addresses or other information.
Chapter 2
What is DDNS?
DDNS, most commonly known as Dynamic DNS, is an automatic method of refreshing a name
server. It can dynamically update DNS records without the need for human interaction. It is
extremely useful for updating A and AAAA records when the host has changed its IP address.
DDNS is an extension to DNS that allows domain names to be inserted or removed from the
DNS database dynamically. When a DHCP server assigns a new address, it can also be
configured to notify the DNS server that a new host has joined the network. (Filippi 2008)
Figure 1.0 shows a typical DDNS update, including a Master (Primary) and Slave (Secondary)
server. Only the DHCP update is shown here. First, the DHCP server sends an update to the
Primary DNS server. Then, the Master DNS server sends the update to the Slave server.
(Filippi 2008)
The term is used to describe two different concepts. The first is "dynamic DNS updating" which
refers to systems that are used to update traditional DNS records without manual editing. These
mechanisms are explained in RFC 2136, and use the TSIG mechanism to provide security. The
second kind of dynamic DNS permits lightweight and immediate updates often using an update
client, which do not use the RFC2136 standard for updating DNS records. These clients provide
a persistent addressing method for devices that change their location, configuration or IP
Addresses frequently.
Imagine this situation. You have a server in your office, and you are providing some service to
your employees. You are using a standard/consumer-grade internet from a typical ISP (Internet
service provider). You are getting a temporary IP address that could change the next type you
connect or change automatically after some time. To provide a service, you have 3 options:
Chapter 3
How those DDNS works?
The DDNS works in the following way: The DDNS client monitors the IP address for
changes. When the address changes (which it will if you have a dynamic IP address), the
DDNS (or Dynamic DNS) service updates your new IP address.
Dynamic IP address is where an IP address kept an IP from a DCHP server therefore, the IP
address changes periodically.
Figure 2.0 shows how DDNS works
Figure 2.0
Internal Server: This server runs internal services such as webcam, security services etc.
NAT Router: This is the external server that basically protect the internal server from the
internet, it contains the Ipex (External IP) and the Portex (External port) on its port and
also it has an external client on the internet that helps to Porte access the service running
in the internal IP.
Port forwarding: is a mechanism that allows the internal server to be available on the
internet. It effectively makes the internal server to appears on the external port.
Chapter 4
Why is DDNS useful?
It can be very useful for people who want to host their website, access CCTV cameras, VPN, app
or game server from their home computer. It is cheaper than to have a static public IP and by
setting up DDNS, you will avoid the need to update all of your records whenever your IP
changes manually. Also, static IP address is not always an option; it depends on your Internet
provider.
DDNS is a very flexible option. The way that Dynamic DNS gives a connected device the ability
to notify DNS servers to automatically update, alongside the active DNS configuration, IP
addresses, configured hostnames and some other information. This saves the need of
administrator who should do the changes.
Advantages of DDNS
DDNS have so many advantages, but below are the major advantages that we will be
considering here.
Accessibility – You will be able to access your website or server, easily, without being worried.
The IP will change, but this won’t stop any of your activities.
Practicality – You don’t need a network administrator who to check and reconfigure your
settings.
Economic – DDNS makes it cheaper; you won’t have IP address conflict in case you have many
addresses, and they are used at the same time.
DDNS is used with dynamic IP address is where an IP address kept an IP from a DHCP
server, therefore the IP address change periodically.