|
发表于 2004-6-11 09:06:09
|
显示全部楼层
/etc/hostname.le0 网卡le的IP地址
192.168.0.1
/etc/hosts 网络中主机名的IP地址对应表
增加一行: 192.168.0.1 hostname
/etc/nsswitch.conf 域名解析的方法和顺序
修改hosts: files 为 hosts: file dns
/etc/resolv.conf DNS Server的地址及域名
nameserver x.x.x.x (ISP dns 地址 |
|