Domain Name System (DNS):
In DNS, with the help of DNS server, domain names are translated into IP addresses and IP addresses are translated into domain names. The architecture of DNS is given below:
Dynamic Host Configuration Protocol (DHCP):
Like DNS server, it does not map domain names into IP addresses or IP addresses into domain names, DHCP server is used to configures the hosts mechanically.
Let’s see the difference between DNS and DHCP:
|1.||DNS stands for Domain Name System.||While DHCP stands for Dynamic Host Configuration Protocol.|
|2.||It works in 53 port number.||While it works in 67 and 68 port number.|
|3.||The protocol supported by DNS are: UDP and TCP.||While in this only UDP protocol is used.|
|4.||DNS is decentralized system.||While DHCP is centralized system.|
|5.||In DNS, with the help of DNS server, domain names are translated into IP addresses and IP addresses are translated into domain names.||While in DHCP, DHCP server is used to configures the hosts mechanically.|
|6.||With the help of DNS, we don’t need to remember the IP address.||It is reliable IP configuration.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- DNS Spoofing or DNS Cache poisoning
- Difference between BOOTP and DHCP
- Dynamic Host Configuration Protocol (DHCP)
- Types of DNS Attacks and Tactics for Security
- Domain Name System (DNS) in Application Layer
- Address Resolution in DNS (Domain Name Server)
- Difference and Similarities between PHP and C
- Difference between Stop and Wait, GoBackN and Selective Repeat
- Difference between Stop and Wait protocol and Sliding Window protocol
- Similarities and Difference between Java and C++
- Difference between Yaacomo and and XAP
- Difference between VoIP and and POTS
- Difference between ++*p, *p++ and *++p
- Difference Between DOS and Windows
- Difference between User Level thread and Kernel Level thread
- What’s difference between The Internet and The Web ?
- Difference between Priority Inversion and Priority Inheritance
- What’s difference between Linux and Android ?
- What’s difference between header files "stdio.h" and "stdlib.h" ?
- Difference between HTML and HTTP
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.