名字解析的作用: TCP/IP网络中,设备之间的通信依赖IP地址来实现,但是IP地址不好记忆,所以就将每一台设备用一个名字来进行标识,但是这个名字计算机不能解析.所以就需要借助名字解析服务来实现将名字解析为IP地址. 主机名和域名的联系 主机名: 主机名:计算机的名字,用于唯一标识一台设备 域名: 域名:domain name,是由一串用点分隔的名字,表示互联网上的一台或者一组设备. 完全限定域名:FQDN FQDN:full qualified domain name,完全限定域名.FQDN=