|
我的系统是turbolinux 10,上网是用上海网通的线路,和另一台机器通过路由器连接internet.装好后设置好网卡,发现已经连上,但就是域名不能解析(Ping ip 通的,域名就出项"未知主机名").因为是通过路由器,DNS应该设为192.168.8.1(本机的XP既如此正常上网) 所以我的/etc/hosts如下:
# TurboLinux /etc/hosts table
# This file contains hostname/IP lookup information.
# This file is (usually) queried before DNS or NIS.
# Current /etc/hosts generated by turbonetcfg.
# Generated on: Fri Feb 4 09:46:37 2005
127.0.0.1 localhost.localdomain localhost
# End of /etc/hosts
/etc/resolv.conf 如下:
domain none
search localhost.localdomain
nameserver 192.168.8.1
请高手指教问题在哪里,谢谢!!!! |
|