|
|
|
|
 求助:关于dns client 设置 - ecco8333 [ 2005-04-19 13:20 | 569 byte(s)]
 Re: 求助:关于dns client 设置 - zxpxyz4587 [ 2005-04-21 19:39 | 126 byte(s)]
 Re: 求助:关于dns client 设置 - ecco8333 [ 2005-04-22 11:24 | 1,339 byte(s)]
 Re: 求助:关于dns client 设置 - lhl [ 2005-04-22 13:27 | 118 byte(s)]
 Re: 求助:关于dns client 设置 - ecco8333 [ 2005-04-25 13:28 | 100 byte(s)]
 Re: 求助:关于dns client 设置 - lhl [ 2005-04-26 10:48 | 16 byte(s)]
 Re: 求助:关于dns client 设置 - zxpxyz4587 [ 2005-04-20 21:29 | 379 byte(s)]
 Re: 求助:关于dns client 设置 - ecco8333 [ 2005-04-21 12:46 | 437 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
典型的dns配置失败。
首先你看看你有没有配置dns的地址。如果你有那么就说明你们的dns有问题。问你的ip供应商可以知道。或者直接设置为202.106.0.20。这是北京地区常用的一个dns
设置dns c可以这样做
vi /etc/resolv.conf
添加
nameserver 202.106.0.20
保存退出
然后service network restart应该就没问题了
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
>设置dns c可以这样做
>vi /etc/resolv.conf
>添加 >nameserver 202.106.0.20 保存退出
我的 dns ip 应该没有问题。因为同样的resolv.conf在readhat下域名解析正常。
>然后service network restart应该就没问题了
我的mini linux下好像没有service network,我需要检查一下。谢谢提醒。
另外,我的其他问题能否给与帮助!
谢谢。
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
没有netconfig.用ifconfig和route进行配置。
我的网络信息:
# 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 www.sohu.com
ping: www.sohu.com: Unknown host
-----------------------------------------------
希望高手们帮忙看看。
|
|
|
[Original]
[Print]
[Top]
|
|
|