手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

check-hostname(1M)

名称

check-hostname - check if sendmail can determine the system's fully-qualified host name

用法概要

 /usr/sbin/check-hostname 

描述

The check-hostname script is a migration aid for sendmail(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to sendmail(1M). If check-hostname is able to determine the FQHN of the local host, it reports success. Otherwise, check-hostname reports how to reconfigure the system so that the FQHN can be properly determined.

文件

/etc/hosts

Host name database

/etc/nsswitch.conf

Name service switch configuration file

/etc/resolv.conf

Configuration file for name server routines

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
service/network/smtp/sendmail
Interface Stability
Committed

另请参见

domainname(1M), sendmail(1M), hosts(4), attributes(5)