如果你已经正确配置了DNS nameserver规范,那么ping命令就会将hostname这个主机名映射成相应的IP地址。
If you have configured the DNS nameserver specification properly, the ping command should resolve the hostname into a corresponding IP address.
如果您希望服务器特定主机上的服务能够支持多个网络接口或地址,那么您还必须修改主机名规范。
If you want to support the service on a specific host on a server with multiple network interfaces or addresses, then you must also alter the host name specification.
应用推荐