LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 518|回复: 0

suse 11.1 x86_64hostname的问题

[复制链接]
发表于 2009-1-1 19:18:13 | 显示全部楼层 |阅读模式
装完系统后,hostname竟然边成了bogon,这不是我设的,hosts和HOSTNAME文件里都没有这个名字,那来的呢?
费解!!

bogon:~ # hostname
bogon
bogon:~ # cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#   
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
127.0.0.2       TM-1.site TM-1
bogon:~ # cat /etc/HOSTNAME
TM-1.site
bogon:~ #
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表