|
系统是CentOS 5.2,我已经配好了DNS,而且也可以ping通过域名,但就是不能访问网页。
请帮我看看吧,谢谢了
附相关结果
====================================
[root@sqa ~]# wget http://www.163.com
--14:00:56-- http://www.163.com/
Resolving www.163.com... 220.181.28.51, 220.181.28.52, 220.181.28.53, ...
Connecting to www.163.com|220.181.28.51|:80... failed: Connection timed out.
Connecting to www.163.com|220.181.28.52|:80... failed: Connection timed out.
Connecting to www.163.com|220.181.28.53|:80...
[root@sqa ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:83:F8:E3
inet addr:192.168.1.17 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe83:f8e3/64 Scopeink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:659 errors:0 dropped:0 overruns:0 frame:0
TX packets:300 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:63331 (61.8 KiB) TX bytes:36347 (35.4 KiB)
Interrupt:67 Base address:0x2000
…………
[root@sqa ~]# dig www.google.com
; <<>> DiG 9.3.4-P1 <<>> www.google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21075
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 603197 IN CNAME www.l.google.com.
www.l.google.com. 192 IN A 64.233.189.104
www.l.google.com. 192 IN A 64.233.189.99
www.l.google.com. 192 IN A 64.233.189.147
;; Query time: 11 msec
;; SERVER: 202.109.14.5#53(202.109.14.5)
;; WHEN: Tue Aug 11 14:15:00 2009
;; MSG SIZE rcvd: 100 |
|