LFS中怎么设置DNS啊,resolv.conf好像不起作用?

由 zhangheng 在 07-14-2003 10:21 发表:

LFS中怎么设置DNS啊,resolv.conf好像不起作用?

LFS中怎么设置DNS啊,resolv.conf好像不起作用?


由 doooom 在 07-14-2003 10:32 发表:


>cat /etc/resolv.conf

nameserver 151.196.0.39

nameserver 151.196.0.38


发行版再好,不如自己做的lfs好。


由 zhangheng 在 07-14-2003 10:35 发表:


我的是在/etc下啊,也有

nameserver 202.103.224.68

nameserver 202.103.234.68

就是ping不了 www.yahoo.com


由 Glue 在 07-14-2003 14:32 发表:


nslookup www.yahoo.com 202.103.224.68

你应该得到 Addresses.

说不定是server的问题


-_-


由 zhangheng 在 07-15-2003 22:14 发表:


up


由 zhangheng 在 07-16-2003 15:04 发表:


没人帮一下吗?我现在只能用IP上网了。:(


由 zhangheng 在 07-16-2003 16:11 发表:


请版主帮我把这贴移动到网络版,那里也许能帮助我。


由 tram 在 07-17-2003 09:03 发表:


/etc下有一个nsswitch.conf,还有一protocols.conf,你看看他们的权限对不对,普通用户能不能读,上次我装完,权限是0440,有点奇怪.还有,你是用什么方式来上网的?如果是adsl,要用adsl-setup来设置dns的,我是输入的server


LFS全套中文文档:http://lfs.linuxsir.org(主力)

LFS 英文站点镜像:http://lfs.cosoft.org.cn

二笔输入法 for Linux: http://ebf.cosoft.org.cn


由 zhangheng 在 07-17-2003 12:08 发表:


total 707

drwxrwxr-t 13 10000 10000 360 Jul 16 04:49 X11

-rw-r--r-- 1 root root 0 Jul 18 07:57 error

-rw-r--r-- 1 root root 1246 Jul 13 11:14 fdprm

drwxr-xr-x 2 root root 112 Jul 15 21:38 fonts

-rw-r--r-- 1 root root 336 Jul 13 22:49 fstab

-rw-r--r-- 1 root root 125 Jul 17 12:49 group

-rw------- 1 root root 143 Jul 16 18:03 group-

-r-------- 1 root root 124 Jul 16 18:03 gshadow

-rw------- 1 root root 111 Jul 13 10:59 gshadow-

-rw-r--r-- 1 root root 132 Jul 17 10:38 hosts

-rw-r--r-- 1 root root 128 Jul 17 10:32 hostsa

-rw-r--r-- 1 root root 144 Jul 14 18:46 hostsb

-rw-r--r-- 1 root root 634 Jul 13 11:08 inittab

-rw-r--r-- 1 root root 11052 Jul 15 21:44 ld.so.cache

-rw-r--r-- 1 root root 106 Jul 15 21:44 ld.so.conf

-rw-r--r-- 1 root root 9 Jul 14 01:00 lfs

-rw-r--r-- 1 root root 725 Jul 13 10:56 limits

-rw-r--r-- 1 root root 1218 Jul 13 01:50 localtime

-rw-r--r-- 1 root root 2058 Jul 13 10:56 login.access

-rw-r--r-- 1 root root 10232 Jul 13 10:57 login.defs

-rw-r--r-- 1 root root 4608 Jul 13 10:39 man.conf

-rw-r--r-- 1 root

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus