Research Paper On DHCP, DNS and APIPA
Research Paper On DHCP, DNS and APIPA
Research Paper On DHCP, DNS and APIPA
Sailesh Paudel
Linchen Wang
The communication between millions of devices for sharing of data, files and information has
been possible with the advent of computer networking and internet. The internet which was born to
establish secure communication for the use of Department of Defense (DOD) now has become integral
part of our life. Its existence itself is possible because of various protocols, rules, and architectures
defined and constructed to seamlessly integrate the various part of networking required to make the
communication in internet possible. Some of these important protocols are TCP/IP, UDP, DNS, DHCP,
ARP, ICMP, POP, etc. and many more. In this research, the concept of DHCP, DNS and APIPA are briefly
introduced in easy-to-understand way and their uses in the networking as well are covered. DHCP and
APIPA are concerned with providing network information containing unique network identifier to the
device called IP address whereas as DNS is related to the resolution of generic hostname like
www.google.com to its corresponding IP address, for the machine to read and use easily.
Introduction of DHCP
Each device on the internet is required a unique identifier to communicate between each device to
other. This requirement is fulfilled using IP (Internet Protocol) address. There are in general two ways in
which a device can be assigned an IP address. First one is manual where we must plan on every device
that is going to be included in the network, calculate IP address for each of them and manually assigning
the static IP address for all the devices. Another method is using DHCP (Dynamic Host Configuration
Protocol) server to automatically assign IP address to the existing device or the device that may be
connected in the future. DHCP is a client-server-based protocol which is used to automatically assign IP
address to the devices connected in the network. It assigns all the required information like IP address,
subnet mask, default-gateway, and DNS server to the device. The dynamic IP assignment to the client
device by DHCP server is executed in four steps as shown below.
1. DHCP Discover: Client device sends the broadcast packets in the network which is responded by
the DHCP server and are ignored by other devices.
2. DHCP Offer: After getting the request packet, DHCP server searches for the available IP address
from its IP pool and responds to the client with information that contains IP address, subnet
mask, default gateway and DNS server
3. DHCP Request: Client device then sends DHCP Request packets to DHCP server that it has
received the information and is it okay to use them
4. DHCP Acknowledgement: DHCP server sends acknowledgement packets to verify request from
client.
Dynamic IP assignment using DHCP is chosen over Static IP assignment is due to its reliable and
accurate IP management system. In static addressing, each device is provided a permanent IP
address and if there are a lot of devices in network, it will be tedious job to manually assign each
IP on each device. Sometime due to IP conflict, the error may arise. But these problems are all
mitigated using DHCP, which not only provides IP addresses to each device on real-time but also
returns the assigned IP to its pool if the client is offline or the lease time exceeds out and that IP
address can be reused by some other device.
DNS zone is the part of the domain namespace which is responsible for maintaining DNS zone in literal
way and are managed by some legal entities like organization or company. Each DNS server does not
contain data on all domain names and are maintained by different top level name servers at each
hierarchical level. For eg. .com, .org, .gov are top level domain nameservers, which contains information
on domain names with .com, .org, and .gov respectively. These separate nameservers can be viewed as
different zone. Similarly, second level domain and sub domain define each zone. Authoritative zone
refers to the zone for the server from where it can respond to queries referencing to its own data and
without relying on other servers. There are two types in the authoritative zone:
References
1. https://www.baeldung.com/cs/dhcp-intro
2. https://networklessons.com/cisco/ccie-routing-switching/introduction-to-dhcp
3. https://whatis.techtarget.com/definition/Automatic-Private-IP-Addressing-APIPA
4. https://www.geeksforgeeks.org/what-is-apipa-automatic-private-ip-addressing/
5. https://www.dummies.com/programming/networking/cisco/automatic-private-ip-
addressing-apipa/
6. https://www.educba.com/dns-types/
7. https://ns1.com/resources/dns-zones-explained