求助:关于dns client 设置
时间:2005-04-22
来源:互联网
我正在用mini linux系统(xlinux),但是不能用域名方式访问internat服务器,用ip方式则可以。
例如:ping http://www.sohu.com 返回 unknown host. ping dns server ip 则正确返回。
请问: dns client 与内核有关吗?
我的系统配置如下:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.128 U 0 0 0 eth0
default 192.168.0.69 0.0.0.0 UG 1 0 0 eth0
# ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:4C:91:00:C9
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8975 errors:0 dropped:0 overruns:0 frame:0
TX packets:1637 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:806830 (787.9 Kb) TX bytes:112731 (110.0 Kb)
Interrupt:5 Base address:0x220
# more resolv.conf
domain mydomain.com
nameserver 202.99.96.68
nameserver 202.106.0.20
# more host.conf
order bind,hosts
# ping http://www.sohu.com
ping: http://www.sohu.com: Unknown host
-----------------------------------------------
请大家帮忙!
[email protected]
例如:ping http://www.sohu.com 返回 unknown host. ping dns server ip 则正确返回。
请问: dns client 与内核有关吗?
我的系统配置如下:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.128 U 0 0 0 eth0
default 192.168.0.69 0.0.0.0 UG 1 0 0 eth0
# ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:4C:91:00:C9
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8975 errors:0 dropped:0 overruns:0 frame:0
TX packets:1637 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:806830 (787.9 Kb) TX bytes:112731 (110.0 Kb)
Interrupt:5 Base address:0x220
# more resolv.conf
domain mydomain.com
nameserver 202.99.96.68
nameserver 202.106.0.20
# more host.conf
order bind,hosts
# ping http://www.sohu.com
ping: http://www.sohu.com: Unknown host
-----------------------------------------------
请大家帮忙!
[email protected]
作者: ecco 发布时间: 2005-04-22
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28