lihongjie0209 / myblog

4 stars 0 forks source link

Zero-configuration: 自动配置dns解析 #283

Open lihongjie0209 opened 3 years ago

lihongjie0209 commented 3 years ago

Zero-configuration networking (zeroconf) is a set of technologies that automatically creates a usable computer network based on the Internet Protocol Suite (TCP/IP) when computers or network peripherals are interconnected. It does not require manual operator intervention or special configuration servers. Without zeroconf, a network administrator must set up network services, such as Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS), or configure each computer's network settings manually.

Zeroconf is built on three core technologies:

  1. automatic assignment of numeric network addresses for networked devices // 自动分配IP 替代dhcp
  2. automatic distribution and resolution of computer hostnames // hostname 到 ip 的映射 dns
  3. automatic location of network services, such as printing devices. // 服务发现

安装

apt-get install avahi-daemon avahi-discover libnss-mdns