📜  DNS 和 DHCP 的区别

📅  最后修改于: 2021-09-15 01:59:00             🧑  作者: Mango

域名系统 (DNS):
在 DNS 中,借助 DNS 服务器,将域名转换为 IP 地址,将 IP 地址转换为域名。 DNS的架构如下:

动态主机配置协议 (DHCP):
与DNS服务器一样,它并不将域名映射为IP地址或IP地址映射为域名,DHCP服务器用于对主机进行机械配置。

让我们看看 DNS 和 DHCP 之间的区别:

S.NO DNS 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.